I’m trying to use the eventsensor integration from @azogue on a Hue dimmer switch. The entity appears as expected in Developer Tools > States, but pressing the buttons does not change the state reported. It remains “unknown”. Am I right in thinking this should update when I press a button and retain the last button pressed?
Yes, it should update
Maybe the event sensor configuration is wrong for that remote.
Have you checked that you’re receiving events (dev-tools->events), and that the event data matches the sensor config?
(you can inspect or edit the eventsensor config by pressing “options” in the integrations menu for a selected sensor)
@azogue Thanks. That gave me the clue I needed. For some reason, even though the associated battery level sensor is “sensor.landing_switch_u2_battery_level”, the id of the remote is “landing_u2”, not “landing_switch_u2” as I expected. it’s working fine now.
Thanks for the integration and also for introducing me to the Event listener that I’ve not used before
Hi @azogue
Just stumbled on this and it helped me as well.
I have now a gotton my Hue dimmer to work again, using this integration, but it is very slow to react. Any idea? From when I push the dímmer switch till the light changes I have approx. 4-5 secs.
Thanks