mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-10 19:06:55 +00:00
Add cron option (#19078)
This commit is contained in:
parent
8aace6e2e0
commit
a2a64065f2
@ -54,6 +54,10 @@ offset:
|
|||||||
default: 0
|
default: 0
|
||||||
type: time
|
type: time
|
||||||
type: integer
|
type: integer
|
||||||
|
cron:
|
||||||
|
description: This option is *mutually exclusive* of `cycle` and `offset`. It provides an advanced method of defining when should the counter be reset. It follows common [crontab syntax](https://crontab.guru).
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
net_consumption:
|
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.
|
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.
|
||||||
required: false
|
required: false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user