mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-28 03:37:06 +00:00
added description for timeout option (#10019)
This commit is contained in:
parent
57511081c4
commit
50c1fbb7dc
@ -26,6 +26,7 @@ switch:
|
|||||||
command_off: "PWR OFF"
|
command_off: "PWR OFF"
|
||||||
command_state: "PWR?"
|
command_state: "PWR?"
|
||||||
value_template: '{{ value == "PWR=01" }}'
|
value_template: '{{ value == "PWR=01" }}'
|
||||||
|
timeout: 0.9
|
||||||
```
|
```
|
||||||
{% endraw %}
|
{% endraw %}
|
||||||
|
|
||||||
@ -69,4 +70,9 @@ switches:
|
|||||||
description: The name used to display the switch in the frontend.
|
description: The name used to display the switch in the frontend.
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
timeout:
|
||||||
|
description: How long to wait for a reply after a telnet command is sent.
|
||||||
|
required: false
|
||||||
|
default: 0.2
|
||||||
|
type: float
|
||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user