Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion source/_components/utility_meter.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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` %}
Expand Down