Add scan_interval option to Command line (#27580)

This commit is contained in:
G Johansson 2023-06-06 08:33:50 +02:00 committed by GitHub
parent 1d596b6386
commit 79c1a7cc71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,6 +74,11 @@ command_line:
description: Defines a [template](/docs/configuration/templating/#processing-incoming-data) to extract a value from the payload.
required: false
type: string
scan_interval:
description: Define time in seconds between each update.
required: false
type: integer
default: 60
cover:
description: Cover platform.
required: false
@ -115,6 +120,11 @@ command_line:
description: if specified, `command_state` will ignore the result code of the command but the template evaluating will indicate the position of the cover. For example, if your `command_state` returns a string "open", using `value_template` as in the example configuration above will allow you to translate that into the valid state `100`.
required: false
type: template
scan_interval:
description: Define time in seconds between each update.
required: false
type: integer
default: 15
notify:
description: Notify platform.
required: false
@ -178,6 +188,11 @@ command_line:
required: false
type: string
default: None
scan_interval:
description: Define time in seconds between each update.
required: false
type: integer
default: 60
switch:
description: Switch platform.
required: false
@ -216,6 +231,11 @@ command_line:
description: "If specified, `command_state` will ignore the result code of the command but the template evaluating to `true` will indicate the switch is on."
required: false
type: string
scan_interval:
description: Define time in seconds between each update.
required: false
type: integer
default: 30
{% endconfiguration %}
## Binary sensor