mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 16:56:50 +00:00
Fix example (#9899)
This commit is contained in:
parent
24b09336a3
commit
4b6997d269
@ -59,16 +59,16 @@ switch:
|
|||||||
switches:
|
switches:
|
||||||
ac:
|
ac:
|
||||||
friendly_name: "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:
|
turn_on:
|
||||||
service: climate.set_havc_mode
|
service: climate.set_havc_mode
|
||||||
data:
|
data:
|
||||||
entity_id: climate.ac
|
entity_id: climate.ac
|
||||||
hvac_mode: off
|
hvac_mode: cool
|
||||||
turn_off:
|
turn_off:
|
||||||
service: climate.set_havc_mode
|
service: climate.set_havc_mode
|
||||||
data:
|
data:
|
||||||
entity_id: climate.ac
|
entity_id: climate.ac
|
||||||
hvac_mode:
|
hvac_mode: off
|
||||||
```
|
```
|
||||||
{% endraw %}
|
{% endraw %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user