Hi all, happy to see a strong HA presence on Lemmy!
To start off, I know enough to be dangerous but not enough to always get the desired or expected outcomes.
I have a downloaded HA install to a bootable USB with all updates. I have also installed a SONOFF Zigbee Dongle and ensured that auto updates are enabled. After installing the SONOFF, I was able to configure ZHA and then also add the Ikea Tradfri shortcut button. These are currently the only two Zigbee devices.
Device info for the button confirms the button is being depressed with Logbook entry "Button_LR1 Remote Button Short Press - Turn On event was fired" - so I don't think I have a configuration issue.
I was hoping to configure a Scene where I could control lighting and TV with the shortcut button. As a test, via a HA configuration, I have created a Scene and added a light (via Wyze integration - works independently fine) and the button as Devices. There are two entities listed, one for the button battery and one for button identify. As configured on HA, this scene works as expected. The light turns on. However, depressing the shortcut button does nothing.
What am I doing wrong?
It sounds like you’ve added both the light and the button to the devices in the scene, but only the light should be added.
Scenes set controllable devices to specific states and a button is generally not a controllable device (it’s the device that does the controlling). Scenes are also not directly activated and need an automation to activate them.
You’d need to create an automation and specify that ‘when’ the button is pressed, ‘then do’ activate the scene.
Happy tinkering!
As a follow up, this worked as you described. Thanks again.
Now, since it's the shortcut button, I had to load the blueprint and start working on the proper configuration so that I can do more with the switch - for example, double clicks, holding, etc...
Not quite there yet, but your response helped a lot.
Glad I could help!