public async Task SetPower(bool power) { await Connect(); await _device.SetPower(power, SmoothMs); PowerToggled?.Invoke(); }
public async Task SetSunLight() { await Connect(); await _device.SetPower(true, SmoothMs, PowerOnMode.Ct); PowerToggled?.Invoke(); }
public async Task SetName(String name) { await Connect(); await _device.SetName(name); PowerToggled?.Invoke(); }