Fixed typo in cover automation (#2922)

This commit is contained in:
Alok Saboo 2017-07-02 15:58:46 -04:00 committed by Fabian Affolter
parent aa67b14e3b
commit 5380823190

View File

@ -65,13 +65,13 @@ cover:
value_template: "{% raw %}{{ sensor.garage_door }}{% endraw %}"
open_cover:
service: switch.turn_on
entity_is: switch.garage_door
entity_id: switch.garage_door
close_cover:
service: switch.turn_off
entity_is: switch.garage_door
entity_id: switch.garage_door
stop_cover:
service: switch.turn_on
entity_is: switch.garage_door
entity_id: switch.garage_door
icon_template: "{% raw %}{% if not is_state('sensor.garage_door', 'on') %}mdi:garage-open{% else %}mdi:garage{% endif %}{% endraw %}"
```