mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
Change type of offset in utility_meter (#8459)
* change offset type * missing " Co-Authored-By: dgomes <diogogomes@gmail.com>
This commit is contained in:
parent
ae3f96f66c
commit
4b62a85f8d
@ -46,9 +46,10 @@ cycle:
|
||||
required: true
|
||||
type: string
|
||||
offset:
|
||||
description: Cycle reset occur at the beginning of the period (0 minutes, 0h00 hours, Monday, day 1, January). This option enables the offsetting of these beginnings.
|
||||
description: "Cycle reset occur at the beginning of the period (0 minutes, 0h00 hours, Monday, day 1, January). This option enables the offsetting of these beginnings. Supported formats: `offset: 'HH:MM:SS'`, `offset: 'HH:MM'` and Time period dictionary (see example below)."
|
||||
required: false
|
||||
default: 0
|
||||
type: time
|
||||
type: integer
|
||||
net_consumption:
|
||||
description: Set this to True if you would like to treat the source as a net meter. This will allow your counter to go both positive and negative.
|
||||
@ -62,6 +63,16 @@ tariffs:
|
||||
type: list
|
||||
{% endconfiguration %}
|
||||
|
||||
### {% linkable_title Time period dictionary example %}
|
||||
|
||||
```yaml
|
||||
offset:
|
||||
# At least one of these must be specified:
|
||||
days: 1
|
||||
hours: 0
|
||||
minutes: 0
|
||||
```
|
||||
|
||||
## {% linkable_title Services %}
|
||||
|
||||
### {% linkable_title Service `utility_meter.reset` %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user