I have a problem with my zigbee button. I want to create an automation that handles this:
- one button press (short press) = turn on the light on 20% - second button press (short press) = turn off the light if its on - double press = turn off the light - double press = add brightness +40%
There is no problem of programing it, but the problem is that i cannot do it in one Automation.
I can use the double press, long or short press only as a trigger. Why limit our options??
In the conditions or the actions i cant see and use only the battery level of the device.
A little background:
I am a machine programmer and the golden unwritten rule is that you should use outputs on one place and there you should add all triggers or conditions to not have a mess or to not interfere with other programing.
That means i don’t want to create multiple automations to turn on one lamp. I want to have one automation with multiple conditions to handle every situation for that lamp with conditions.
Can anyone tell me to the right direction how to achieve this? Thank you.