diff --git a/services/home-assistant/config/ken/automations/1784804667795.yaml b/services/home-assistant/config/ken/automations/1784804667795.yaml index 4a6f059..9580d70 100644 --- a/services/home-assistant/config/ken/automations/1784804667795.yaml +++ b/services/home-assistant/config/ken/automations/1784804667795.yaml @@ -61,6 +61,10 @@ triggers: entity_id: sensor.thtuyabalkon_temperature id: start trigger: numeric_state +- entity_id: script.klima_salon_dry_off + id: start + to: 'off' + trigger: state - entity_id: input_number.klima_salon_temp_docelowa id: sync trigger: state diff --git a/services/home-assistant/config/ken/automations/1784804668795.yaml b/services/home-assistant/config/ken/automations/1784804668795.yaml index a003dea..0eeb07b 100644 --- a/services/home-assistant/config/ken/automations/1784804668795.yaml +++ b/services/home-assistant/config/ken/automations/1784804668795.yaml @@ -14,7 +14,8 @@ triggers: - event: sunset offset: 0 trigger: sun -- trigger: template +- 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'