I’m going kinda bonkers here trying to figure out why this isn’t working.
Background: I have disabled the physical key toggle on an Inovelli switch because it is controlling a group of five Wiz smart bulbs and I need power to them all the time. So I’m controlling the lights with ZWave scenes rather than with the physical switch.
Turning the lights ON this way works just fine.
But when I do a single keypress of the switch down for OFF the automation triggers and should turn off the light group. But for some reason it’s not!
Yet all both of these things will turn off the light group so I know it SHOULD work:
- Calling homeassistant.turn_off from the Dev->Services screen
service: homeassistant.turn_off
data: {}
target:
entity_id: light.all_front_outside_lights
- Manually running the action in the automation
But when the automation runs the lights don’t turn off.
A trace of the automation confirms that it is triggering and the action is running. But the lights just won’t turn off when triggered by the keypress down for some reason!
alias: Lights - Sunrise - Turn Off Outside Lights
description: ""
trigger:
- platform: sun
event: sunrise
offset: "00:15:00"
- platform: device
device_id: 55278dafc9017595f0764bf89c47a0fa
domain: zwave_js
type: event.value_notification.central_scene
property: scene
property_key: "001"
endpoint: 0
command_class: 91
subtype: Endpoint 0 Scene 001
value: 0
condition: []
action:
- service: homeassistant.turn_off
data: {}
target:
entity_id: light.all_front_outside_lights
enabled: true
mode: parallel
max: 10
I don’t know what I’m missing.