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); }
public async Task SetLedRingColorOff(LedRingColorOff colorOff) { await Node.GetCommandClass <Configuration>().Set(62, Convert.ToByte(colorOff)); }
public async Task SetLedRingColorOff(LedRingColorOff colorOff) { await Node.GetCommandClass<Configuration>().Set(62, Convert.ToByte(colorOff)); }