I’ve recently gotten a pair of Sengled bulbs and a Hue dimmer switch palling around nicely together. As the dimmer only has four buttons, I was curious if there was a way to make an automation that triggered when several buttons are pressed at once i.e. pressing the “On” and “Off” buttons at the same time would trigger a specific scene.
I read some interesting posts on having multiple simultaneous triggers, and the advice was to have triggers for both inputs, and then conditions that both states were true. Seems simple enough.
Unfortunately, I can’t seem to find a way to make a condition template that will check the state of a button. I’ve tried
condition:
- condition: template
value_template: "{{ state_attr(sensor.philips_rwl020_550b0b08_power, turn_off)
== 'off' }}"
But it’s not working. I’ve tried to expose the attribute values by putting them in the message of notify.notify service call, but the only value I ever get is ‘None’.
Is there a way to accomplish what I’m trying to do?