mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 01:06:52 +00:00
Add scan_interval option to Command line (#27580)
This commit is contained in:
parent
1d596b6386
commit
79c1a7cc71
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user