mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-16 05:46:52 +00:00
Update optionality of Telnet Switch config (#5007)
State command and value template are optional parameters.
This commit is contained in:
parent
45617ed868
commit
e547512307
@ -39,6 +39,6 @@ Configuration variables:
|
||||
- **port** (*Optional*): Port to connect to. Default is 23 if not defined.
|
||||
- **command_on** (*Required*): Command to turn device on.
|
||||
- **command_off** (*Required*): Command to turn device off.
|
||||
- **command_state** (*Required*): Command to determine the state of the switch. If not defined the switch will assume successful state changes.
|
||||
- **value_template** (*Required*): The template evaluating to `true` will indicate that the switch is on.
|
||||
- **command_state** (*Optional*): Command to determine the state of the switch. If not defined the switch will assume successful state changes.
|
||||
- **value_template** (*Optional*): The template evaluating to `true` will indicate that the switch is on.
|
||||
- **name** (*Optional*): The name used to display the switch in the frontend.
|
||||
|
Loading…
x
Reference in New Issue
Block a user