I would like to achieve a very simple task. Every time I single click the flic button the lights should be toggled. For that, I would store a persistent state and toggle based on that.
So, how can I control Philipps Hue lights from the SDK? The app has those possibilities, but I can't find any docu on how to do it in the SDK.