I had some trouble getting the Nanomote to work with OpenZwave beta and thought I would post my working automation - which I could not have solved without the fantastic help of the discord channel.
You’ll need to define the node_id, scene_id, and the scene_value_id. In the example below the zwave node_id is 24. The scene_id is the 1st button and the scene_value_id can be determined by going to the HA Events page, subscribing to ozw.scene_activated, and watching the results when clicking a Nanomote button.
If you don’t add the scene_value_id, HA will register two events: the button click and the release.
Let me know if you have any questions.
- alias: "Meds Taken" trigger: platform: event event_type: ozw.scene_activated event_data: node_id: 23 scene_id: 1 scene_value_id: 1 action: - service: counter.increment entity_id: counter.med_counter
Here is a working Minimote automation. Note the scene_id seems to be 0 and the scene_value_id is what changes
- alias: "Minimote 3 Pressed" trigger: platform: event event_type: ozw.scene_activated event_data: node_id: 34 scene_value_id: 5 scene_id: 0 action: service: light.turn_off entity_id: - light.bedroom