utility_meter optional unique_id (#22150)

* deprecate option

* add unique_id
This commit is contained in:
Diogo Gomes 2022-04-13 22:58:55 +01:00 committed by GitHub
parent 26a149903d
commit 8560dfdbba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,9 +77,13 @@ source:
required: true
type: string
name:
description: The friendly name to use in the GUI.
description: The friendly name to use in the GUI.
required: false
type: string
unique_id:
description: An ID that uniquely identifies the utility_meter. Set this to a unique value to allow customization through the UI.
required: false
type: string
cycle:
description: How often to reset the counter. Valid values are `quarter-hourly`, `hourly`, `daily`, `weekly`, `monthly`, `bimonthly`, `quarterly` and `yearly`. Cycle value `bimonthly` will reset the counter once in two months.
required: false