Home Assistant Git Exporter
parent
3e3aa3f2f6
commit
e5a1b670c7
|
@ -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
|
||||
|
|
|
@ -236,7 +236,6 @@ homekit:
|
|||
- light.fairy_lights
|
||||
|
||||
include_entity_globs:
|
||||
- climate.living_room*
|
||||
- binary_sensor.*_is_occupied
|
||||
- binary_sensor.*_motion
|
||||
- binary_sensor.*_presence
|
||||
|
|
Loading…
Reference in New Issue