I have been trying to get this config to work but it just creates a string of errors for me.
The config for automations.yaml for me would seem to be:
alias: ToggleMyLight
initial_state: true
trigger:
platform: event
event_type: zwave.scene_activated
event_data:
entity_id": Aeotec ZW130 WallMote Quad
scene_data: 0
scene_id": 1
action:
- data:
entity_id: light.gateway_light_7811dcaf1c79
service: light.toggle
I tried removing the extra " after id as they didn’t look correct and tried a few variations without any joy.
After that I have tried using the Z Waze gui and created an automation and tried inserting the information in your config below but without any joy.
- id: ‘1526991370223’
alias: ToggleMyLight
trigger: - event_data: {
entity_id: Aeotec ZW130 WallMote Quad
scene_data: 0
scene_id: 1}
event_type: zwave.scene_activated
platform: event
condition: []
action: - data: {
entity_id: light.gateway_light_7811dcaf1c79}
service: light.toggle
Any assistance would be appreciated, this is my first attempt and it all seems quite daunting. I have looked up the cook book example but that is different again.
Thanks.