homelab-codex-ws/services/home-assistant/config/ken/automations/1784804668795.yaml

23 lines
684 B
YAML

actions:
- action: script.turn_on
target:
entity_id: script.klima_salon_dry_off
alias: 'Klima salon: wyłącz chłodzenie i osusz parownik'
conditions:
- condition: state
entity_id: climate.gree_ir_blaster_klimatyzacja
state: cool
description: 'Wyłącza tryb chłodzenia klimatyzacji w salonie i uruchamia suszenie parownika. managed-by: repo'
id: '1784804668795'
mode: single
triggers:
- event: sunset
offset: 0
trigger: sun
- for: 00:15:00
trigger: template
value_template: '{{ states(''sensor.thtuyabalkon_temperature'') | float(0) <= states(''sensor.thsalon_temperature'') | float(0) }}'
- entity_id: input_boolean.klima_salon_auto
to: 'off'
trigger: state