cron option is optional (#19559)

This commit is contained in:
jugla 2021-10-02 09:19:18 +02:00 committed by GitHub
parent ec238a41e0
commit fe652c5e23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,7 +56,7 @@ offset:
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
required: false
type: string
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.