i have read this solution for the Aeon Minimote and this get me on to the right track.
I’m using Aeon Wallmote Quad and i think the solution is the same for every device.
My final code is as followed:
- alias: Wallmote 1
trigger:
- platform: event
event_type: zwave_js_event
event_data:
device_id: [OWN DEVICE ID HERE]
label: [OWN LABEL HERE]
value: KeyPressed (or KeyHeldDown or KeyReleased)
action:
- service: switch.toggle
entity_id: light.wall
I came to this solution as follow:
- Add node to Zwave JS
- Wait untill is fully reconised
- Go to Developer Tools - Events
- Fill in zwave_js_event by Listen to events and press start listening
- Press, hold or release the button on your node
- Press stop listening
- Write down device_id, label and value
- Change previous code into your own
Good luck.