1
0
Fork 0

Home Assistant Git Exporter

main
31c0fe9c6dbd74bcdde92e1d2aaa03e1d272f75f 2023-06-14 11:25:27 +10:00
parent 3e3aa3f2f6
commit e5a1b670c7
2 changed files with 22 additions and 12 deletions

View File

@ -72,19 +72,30 @@ automation:
condition: "{{ not is_state('switch.living_room_a_c_jet_mode', 'on') }}"
action:
- choose:
- conditions: "{{ delta > 10 and not (is_state('climate.living_room_a_c', 'unavailable') or is_state('climate.living_room_a_c', 'unknown')) }}"
- conditions: |
{{ delta > 10 and not (
is_state('switch.living_room_a_c_jet_mode', 'unavailable') or
is_state('switch.living_room_a_c_jet_mode', 'unknown')
)
}}
sequence:
- if: "{{ not is_state('switch.living_room_a_c_jet_mode', 'on') }}"
then:
- service: switch.turn_on
target:
entity_id: switch.living_room_a_c_jet_mode
- conditions: "{{ delta > 5 }}"
sequence:
- if: "{{ not is_state_attr('climate.living_room_a_c', 'fan_mode', 'HIGH') }}"
then:
- service: climate.set_fan_mode
data:
fan_mode: HIGH
target:
entity_id: climate.living_room_a_c
default:
- if: "{{ not is_state_attr('climate.living_room_a_c', 'fan_mode', 'NATURE') }}"
then:
- service: climate.set_fan_mode
data:
fan_mode: NATURE

View File

@ -236,7 +236,6 @@ homekit:
- light.fairy_lights
include_entity_globs:
- climate.living_room*
- binary_sensor.*_is_occupied
- binary_sensor.*_motion
- binary_sensor.*_presence