mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-17 06:16:50 +00:00
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:
parent
12bfa92cfa
commit
6e0ae6fca2
@ -263,6 +263,16 @@ action:
|
|||||||
entity_id: "{{ trigger.entity_id }}"
|
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`
|
### Service `zwave_js.set_lock_usercode`
|
||||||
|
|
||||||
This service will set the usercode of a lock to X at code slot Y.
|
This service will set the usercode of a lock to X at code slot Y.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user