I’m moving over from Homeseer and I can’t get a zwave automation working. I’m obviously missing something. The trigger just will not fire. Here’s the automation:
- id: basement_lights_double_off
alias: Basement Lights - double off
trigger:
- platform: event
event_type: zwave.scene_activated
event_data:
entity_id: switch.basement_stairs_lights
scene_id: 2
scene_data: 7860
action:
- service: homeassistant.turn_off
data:
entity_id: group.basement_lights
Here’s what I’ve done to set this up:
-
Modified zwcfg_0x*.xml to update the COMMAND_CLASS_CENTRAL_SCENE for my Homeseer switches. https://www.home-assistant.io/docs/z-wave/device-specific/#homeseer-switches
-
Check the zwave log to see if the scene data in happening, it is.
2019-03-24 11:29:11.978 Detail, Node006, Received: 0x01, 0x0b, 0x00, 0x04, 0x00, 0x06, 0x05, 0x5b, 0x03, 0x7b, 0x83, 0x02, 0x51
2019-03-24 11:29:11.979 Detail,
2019-03-24 11:29:11.979 Info, Node006, Received Central Scene set from node 6: scene id=2 in 7860 seconds. Sending event notification.
2019-03-24 11:29:11.979 Detail, Node006, Refreshed Value: old value=7860, new value=7860, type=int
2019-03-24 11:29:11.979 Detail, Node006, Changes to this value are not verified
2019-03-24 11:29:11.980 Detail, Node006, Notification: ValueChanged -
Go to “States” in the UI and make sure the automation is on. I also can force the trigger and the action does happen.
-
Go back into zwcfg_0x*.xml and double check the firmware version of the switch and see the last value of the scene data. All looks good.
-
The “has been triggered” Automation never shows up in the Logbook.
Everything else zwave wise works fine. What I’m I missing?
Thanks…Steely