Hey All,
I am pulling my hair out. I have a 30W Tradfri LED driver and an I/O button. They are connected using a CoinBee II in my Zigbee network, I have set up 2 automations so that when the “I” button is pressed the driver turns on. Then a second one that when the “O” button is pressed it turns off, pretty simple stuff. The issue i face is that the automations do not reliably trigger the change of state. it will work ~20% of the time. If i run the automation manually from the automation page it changes the state of the light correctly. However if its triggered by the button it does not even though it says the automation ran. I can see the event in the events monitoring in developer tools using zha_event so i know that the button press is received and processed and i can also see in the trace that the automation ran. it just does not change the state of the light
Any ideas?
alias: Master bedroom light turn on
description: ''
trigger:
- device_id: 995634644002eb2be23b255cba489c8d
domain: zha
platform: device
type: remote_button_short_press
subtype: turn_on
condition:
- condition: device
type: is_off
device_id: a31ffc5a774714ba823f6d5113d68f18
entity_id: light.light_master_bedroom_cupboard_level_on_off
domain: light
action:
- type: turn_on
device_id: a31ffc5a774714ba823f6d5113d68f18
entity_id: light.light_master_bedroom_cupboard_level_on_off
domain: light
mode: single
alias: Master Bed Light Cupboard Off
description: ''
trigger:
- device_id: 995634644002eb2be23b255cba489c8d
domain: zha
platform: device
type: remote_button_short_press
subtype: turn_off
condition:
- condition: device
type: is_on
device_id: a31ffc5a774714ba823f6d5113d68f18
entity_id: light.light_master_bedroom_cupboard_level_on_off
domain: light
action:
- type: turn_off
device_id: a31ffc5a774714ba823f6d5113d68f18
entity_id: light.light_master_bedroom_cupboard_level_on_off
domain: light
mode: single