add calibrate service (#12326)

This commit is contained in:
Diogo Gomes 2020-03-11 11:03:46 +00:00 committed by GitHub
parent 8a701f9cd7
commit 50bbd86187
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,6 +80,15 @@ Reset the Utility Meter. All sensors tracking tariffs will be reset to 0.
| ---------------------- | -------- | ----------- |
| `entity_id` | no | String or list of strings that point at `entity_id`s of utility_meters.
### Service `utility_meter.calibrate`
Calibrate the Utility Meter. Change the value of a given sensor.
| Service data attribute | Optional | Description |
| ---------------------- | -------- | ----------- |
| `entity_id` | no | String or list of strings that point at `entity_id`s of utility_meters.
| `value` | no | Number | Value to calibrate the sensor with |
### Service `utility_meter.next_tariff`
Change the current tariff to the next in the list.