Fix example (#9899)

This commit is contained in:
Bogdan Alexe 2019-07-18 22:58:04 +03:00 committed by Franck Nijhof
parent 24b09336a3
commit 4b6997d269

View File

@ -59,16 +59,16 @@ switch:
switches:
ac:
friendly_name: "AC"
value_template: "{{ is_state('climate.ac', 'cool') or is_state('climate.ac', 'heat') or is_state('climate.ac', 'dry') or is_state('climate.ac', 'heat')}}"
value_template: "{{ is_state('climate.ac', 'cool') or is_state('climate.ac', 'heat') or is_state('climate.ac', 'dry') or is_state('climate.ac', 'fan_only') }}"
turn_on:
service: climate.set_havc_mode
data:
entity_id: climate.ac
hvac_mode: off
hvac_mode: cool
turn_off:
service: climate.set_havc_mode
data:
entity_id: climate.ac
hvac_mode:
hvac_mode: off
```
{% endraw %}