mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-17 06:16:50 +00:00
Updated code syntax (#13198)
This commit is contained in:
parent
855ccbaeb4
commit
bce66a0b97
@ -16,16 +16,16 @@ To enable this switch, add the following lines to your `configuration.yaml` file
|
|||||||
```yaml
|
```yaml
|
||||||
# Example configuration.yaml entry
|
# Example configuration.yaml entry
|
||||||
switch:
|
switch:
|
||||||
platform: telnet
|
- platform: telnet
|
||||||
switches:
|
switches:
|
||||||
projector:
|
projector:
|
||||||
resource: THE_IP_ADDRESS
|
resource: THE_IP_ADDRESS
|
||||||
port: 4002
|
port: 4002
|
||||||
command_on: "PWR ON"
|
command_on: "PWR ON"
|
||||||
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
|
timeout: 0.9
|
||||||
```
|
```
|
||||||
{% endraw %}
|
{% endraw %}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user