mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-10 02:46:53 +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"
|
||||
position_template: "{{ states('sensor.garage_door') }}"
|
||||
open_cover:
|
||||
- condition:
|
||||
condition: state
|
||||
- condition: state
|
||||
entity_id: sensor.garage_door
|
||||
state: "off"
|
||||
- service: switch.turn_on
|
||||
target:
|
||||
entity_id: switch.garage_door
|
||||
close_cover:
|
||||
- condition:
|
||||
condition: state
|
||||
- condition: state
|
||||
entity_id: sensor.garage_door
|
||||
state: "on"
|
||||
- service: switch.turn_off
|
||||
|
Loading…
x
Reference in New Issue
Block a user