Beispiel #1
0
        public async Task SetLedRingColorOff(LedRingColorOff colorOff)
        {
            var parameterID = default(byte);

            switch (Version)
            {
            case FirmwareVersion.V2:
                parameterID = 62;
                break;

            default:
                parameterID = 42;
                break;
            }

            var value = (byte)EnumConverter.GetConfigurationValue(colorOff, Version);
            await Node.GetCommandClass <Configuration>().Set(parameterID, value);
        }
Beispiel #2
0
 public async Task SetLedRingColorOff(LedRingColorOff colorOff)
 {
     await Node.GetCommandClass <Configuration>().Set(62, Convert.ToByte(colorOff));
 }
Beispiel #3
0
 public async Task SetLedRingColorOff(LedRingColorOff colorOff)
 {
     await Node.GetCommandClass<Configuration>().Set(62, Convert.ToByte(colorOff));
 }