mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-12 11:56:50 +00:00
Fixed a mistake example in cover.template.markdown (#17194)
This commit is contained in:
parent
6f77c20317
commit
786c682eea
@ -159,16 +159,14 @@ cover:
|
|||||||
friendly_name: "Garage Door"
|
friendly_name: "Garage Door"
|
||||||
position_template: "{{ states('sensor.garage_door') }}"
|
position_template: "{{ states('sensor.garage_door') }}"
|
||||||
open_cover:
|
open_cover:
|
||||||
- condition:
|
- condition: state
|
||||||
condition: state
|
|
||||||
entity_id: sensor.garage_door
|
entity_id: sensor.garage_door
|
||||||
state: "off"
|
state: "off"
|
||||||
- service: switch.turn_on
|
- service: switch.turn_on
|
||||||
target:
|
target:
|
||||||
entity_id: switch.garage_door
|
entity_id: switch.garage_door
|
||||||
close_cover:
|
close_cover:
|
||||||
- condition:
|
- condition: state
|
||||||
condition: state
|
|
||||||
entity_id: sensor.garage_door
|
entity_id: sensor.garage_door
|
||||||
state: "on"
|
state: "on"
|
||||||
- service: switch.turn_off
|
- service: switch.turn_off
|
||||||
|
Loading…
x
Reference in New Issue
Block a user