michielpost / Q42.HueApi

C# helper library to talk to the Philips Hue bridge
MIT License
409 stars 114 forks source link

Schedules and light commands #196

Closed BioTurboNick closed 4 years ago

BioTurboNick commented 4 years ago

The LightCommands are really easy to use. I want to add them to a schedule, but the Schedule object doesn't seem to consume them. Is there a way to convert it?

michielpost commented 4 years ago

Yes, you can combine a LightCommand and a Schedule, see this example: https://github.com/Q42/Q42.HueApi/blob/master/src/Q42.HueApi.Tests/ScheduleTests.cs#L73-L75

BioTurboNick commented 4 years ago

I see, thank you.