I’ve added a Flic button to control a smart bulb.
The behaviour that I want is to toggle the state of the light (ON/OFF) when a single click is received by the gateway.
It seems that my only option at the moment is to create two rules:
- If button pressed and light on -> turn light off
- If button pressed and light off -> turn light on
However, the single-click of a Flic button registers for long enough that both rules can be triggered from the same button press.
It would be great if there was a ‘toggle’ option for things that have a clear On/Off state (as there is in IFTTT). Is that a possibility?