Trigger on multiple simultaneous "chorded" button presses

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?

The condition template needs to register off the zha_event and trap on the device_ieee id. Philips remotes don’t [currently] expose button presses as state attributes.

You might want to give this a try as it exposes the remotes button presses as states compared to having the remote directly paired to HA.

Unfortunately, I don’t think I can use that as I don’t have a hue bridge…

The Hue Dimmer has only four buttons, but each button has multiple types of button presses.
Short press, short press release, long press, long press release. The button presses are exposed through events.

Are you by any chance using DeCONZ? If so you can check out my app, that allows smooth dimming and mapping of the buttons to service calls etc. You can install it through HACS.

I’m not currently running DeCONZ as I was under the impression that it requires a conbee stick. Would it work with my nortek combo stick?

Yes you need a ConBee for DeCONZ. Are you using the zha integration currently?

Yes I am. It works nicely with my Nortek HUSBZB-1.