Fixed a mistake example in cover.template.markdown (#17194)

This commit is contained in:
hubbergit 2021-03-30 23:21:57 +02:00 committed by GitHub
parent 6f77c20317
commit 786c682eea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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