Document zwave_js.reset_meter service (#18587)

* Document zwave_js.meter_reset service

* revert additional change and put in separate PR

* Updates based on PR feedback

* Tweak

* tweaks based on upstream feedback

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
Raman Gupta 2021-07-28 17:26:25 -04:00 committed by Franck Nijhof
parent 12bfa92cfa
commit 6e0ae6fca2
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3

View File

@ -263,6 +263,16 @@ action:
entity_id: "{{ trigger.entity_id }}"
```
### Service `zwave_js.reset_meter`
This service will reset the meters on a device that supports the Meter Command Class.
| Service Data Attribute | Required | Description |
| ---------------------- | -------- | ------------------------------------------------------------------------------------------------------------------ |
| `entity_id` | yes | Entity (or list of entities) for the meters you want to reset. |
| `meter_type` | no | If supported by the device, indicates the type of meter to reset. Not all devices support this option. |
| `value` | no | If supported by the device, indicates the value to reset the meter to. Not all devices support this option. |
### Service `zwave_js.set_lock_usercode`
This service will set the usercode of a lock to X at code slot Y.