diff --git a/source/_docs/z-wave/device-specific.markdown b/source/_docs/z-wave/device-specific.markdown index ed5884b3d01..98be85125cf 100644 --- a/source/_docs/z-wave/device-specific.markdown +++ b/source/_docs/z-wave/device-specific.markdown @@ -1457,3 +1457,45 @@ The configuration parameters will have to be added to the `zwcfg` file. Replace ``` + +### Jasco 2 Button Remote (37792/ZW5307) + + + +Once you've added the remote to your Z-Wave network, you'll need to update your `zwcfg_*.xml` file with the below XML data. Stop Home Assistant and open your `zwcfg_*.xml` file (located in your configuration folder). Find the remote's device section and then its corresponding `CommandClass` section with id="91". Replace the entire CommandClass section with the below XML data. Save the file and restart Home Assistant. + +```xml + + + + + + +``` + +Below is a table of the action/scenes for the Jasco remote: + +**Action**|**scene\_id**|**scene\_data** +:-----:|:-----:|:-----: +Button one single tap|1|0 +Button one double tap|1|3 +Button one triple tap|1|4 +Button two single tap|2|0 +Button two double tap|2|3 +Button two triple tap|2|4 + +Example Event: + +```yaml +- alias: JascoButton1 + trigger: + - event_type: zwave.scene_activated + platform: event + event_data: + node_id: 2 + scene_id: 1 + scene_data: 0 + action: + - service: switch.toggle + entity_id: switch.office_fan +```