Hi. Apologies for this noob question, but I’m having trouble following some of the advice on the forum ( … because I’m a noob with HASS).
I’m trying to get the SmartThings button to work. I’ve been following some of the advice … but I’m not sure if I’ve done things correctly. I haven’t been able to get the button to work through HASS. I’m using it through my SmartThings hub (… same for pretty much all my zigbee devices)
The automation script I’m using is:
- id: 'xxxxxx'
alias: Bedroom 1 - Push Button to toggle Bedside Lamps
trigger:
- event_data:
device_ieee: xx:xx:xx:xx:xx:xx:xx:xx
command: button_single
event_type: zha_event
platform: event
condition: []
action:
- data:
entity_id: group.bedside_lamps
service: light.toggle
Now I’ve assumed the device_ieee is the zigbee ID. Is this correct?
Is there anything I’m missing from the script?
Is there anything else I need to add to my config?