From defe5f87a4fc90d99c91601e99e1796ebeea175c Mon Sep 17 00:00:00 2001 From: ttrabatt Date: Tue, 4 Aug 2026 17:06:06 +0200 Subject: [PATCH] Added SE_fan_controllerpro Automation --- automations.yaml | 1049 +++++++++++++++++++++++++--------------------- secrets.yaml | 2 + 2 files changed, 573 insertions(+), 478 deletions(-) diff --git a/automations.yaml b/automations.yaml index b87a563..d9aceb0 100644 --- a/automations.yaml +++ b/automations.yaml @@ -1,4 +1,4 @@ -- id: "1729875991469" +- id: '1729875991469' alias: BagnoOvest-save-energy description: Thermostat will close upon window open use_blueprint: @@ -6,58 +6,57 @@ input: window_sensor: binary_sensor.bagnoovest_finestra_contact climate_target: climate.bagnoovest_termosifone -- id: "1729887529602" +- id: '1729887529602' alias: BagnoPT-save-energy - description: "" + description: '' use_blueprint: path: homeassistant/heat_save.yaml input: window_sensor: binary_sensor.bagnopt_finestra_contact climate_target: climate.bagnopt_termosifone ext_temp_limit: 17 -- id: "1729887632269" +- id: '1729887632269' alias: SoggiornoPT-save-energy - description: "" + description: '' use_blueprint: path: homeassistant/heat_save.yaml input: window_sensor: binary_sensor.soggiornopt_finestrasud_contact climate_target: climate.soggiornopt_termosifonesud ext_temp_limit: 17 -- id: "1781536748271" +- id: '1781536748271' alias: Camera-Ovest-save-energy - description: "" + description: '' use_blueprint: path: homeassistant/heat_save.yaml input: window_sensor: binary_sensor.cameraovest_finestra_contact climate_target: climate.cameraovest_termosifone ext_temp_limit: 17 -- id: "1736805701473" +- id: '1736805701473' alias: P1confort-light - description: "" + description: '' use_blueprint: path: homeassistant/confort_light.yaml input: light_target: device_id: e0397b54f1c2d1514be403e2996ca368 -- id: "1738426726761" +- id: '1738426726761' alias: Test-Pulsante01 - description: "" + description: '' use_blueprint: path: homeassistant/button_action.yaml input: light_target: entity_id: light.test_lamp1 -- id: "1739393696392" +- id: '1739393696392' alias: Power-load-high - description: "" + description: '' use_blueprint: path: homeassistant/power-load-high.yaml -- id: "1740247429602" +- id: '1740247429602' alias: EVcharge-process - description: - Manage charge of 2 cars sequentially via 2 controlled plugs (requires + description: Manage charge of 2 cars sequentially via 2 controlled plugs (requires power and energy entities) use_blueprint: path: homeassistant/evcharge-process.yaml @@ -67,118 +66,118 @@ use_entity1: input_boolean.evcharge_front_request use_entity2: input_boolean.evcharge_back_request start_button: input_button.evcharge_start -- id: "1740332596550" +- id: '1740332596550' alias: test-email - description: "" + description: '' use_blueprint: path: homeassistant/test_macro.yaml -- id: "1753031203413" +- id: '1753031203413' alias: Apri-Cancelletto - description: "" + description: '' triggers: - - trigger: state - entity_id: - - input_button.apri_cancelletto + - trigger: state + entity_id: + - input_button.apri_cancelletto conditions: [] actions: - - action: switch.turn_on - metadata: {} - data: {} - target: - device_id: 4a76297a493304816b1084c6979f4801 - - delay: - hours: 0 - minutes: 0 - seconds: 0 - milliseconds: 200 - - action: switch.turn_off - metadata: {} - data: {} - target: - device_id: 4a76297a493304816b1084c6979f4801 - - delay: - hours: 0 - minutes: 0 - seconds: 2 - milliseconds: 0 - - action: switch.turn_off - metadata: {} - data: {} - target: - device_id: 4a76297a493304816b1084c6979f4801 + - action: switch.turn_on + metadata: {} + data: {} + target: + device_id: 4a76297a493304816b1084c6979f4801 + - delay: + hours: 0 + minutes: 0 + seconds: 0 + milliseconds: 200 + - action: switch.turn_off + metadata: {} + data: {} + target: + device_id: 4a76297a493304816b1084c6979f4801 + - delay: + hours: 0 + minutes: 0 + seconds: 2 + milliseconds: 0 + - action: switch.turn_off + metadata: {} + data: {} + target: + device_id: 4a76297a493304816b1084c6979f4801 mode: single -- id: "1753371588861" +- id: '1753371588861' alias: Cancelletto Alert - description: "" + description: '' triggers: - - trigger: state - entity_id: - - binary_sensor.cancelletto_visitor - to: "on" + - trigger: state + entity_id: + - binary_sensor.cancelletto_visitor + to: 'on' conditions: [] actions: - - device_id: 61ac46de1cc773e1b7d5faa379ee465b - domain: mobile_app - type: notify - message: Qualcuno ha suonato al Cancelletto usa Home Assistant - - device_id: f0ad21f704179a15735313abaa4bd548 - domain: mobile_app - type: notify - message: Qualcuno ha suonato al Cancelletto usa Home Assistant - enabled: false - - device_id: 46e6c7b252a23f498de8602ca380d0a9 - domain: mobile_app - type: notify - message: Qualcuno ha suonato al Cancelletto usa Home Assistant - enabled: true - - device_id: 163daed9ae6074cfa3a10b866ab5d2e0 - domain: mobile_app - type: notify - message: Qualcuno ha suonato al Cancelletto usa Home Assistant - enabled: false - - device_id: 8836f21983cdb6b245d3be58d7acd7d7 - domain: mobile_app - type: notify - message: Qualcuno ha suonato al Cancelletto usa Home Assistant - enabled: false + - device_id: 61ac46de1cc773e1b7d5faa379ee465b + domain: mobile_app + type: notify + message: Qualcuno ha suonato al Cancelletto usa Home Assistant + - device_id: f0ad21f704179a15735313abaa4bd548 + domain: mobile_app + type: notify + message: Qualcuno ha suonato al Cancelletto usa Home Assistant + enabled: false + - device_id: 46e6c7b252a23f498de8602ca380d0a9 + domain: mobile_app + type: notify + message: Qualcuno ha suonato al Cancelletto usa Home Assistant + enabled: true + - device_id: 163daed9ae6074cfa3a10b866ab5d2e0 + domain: mobile_app + type: notify + message: Qualcuno ha suonato al Cancelletto usa Home Assistant + enabled: false + - device_id: 8836f21983cdb6b245d3be58d7acd7d7 + domain: mobile_app + type: notify + message: Qualcuno ha suonato al Cancelletto usa Home Assistant + enabled: false mode: single -- id: "1757599657040" +- id: '1757599657040' alias: Luce-Giardino - description: "" + description: '' triggers: - - trigger: sun - event: sunset - offset: "1500" - id: giardino-on - - trigger: time - at: "22:00:00" - id: giardino-off + - trigger: sun + event: sunset + offset: '1500' + id: giardino-on + - trigger: time + at: '22:00:00' + id: giardino-off conditions: [] actions: - - if: - - condition: trigger - id: - - giardino-on - then: - - action: light.turn_on - metadata: {} - data: {} - target: - device_id: 52db33441371f13f0f217a2e66668a2c - - if: - - condition: trigger - id: - - giardino-off - then: - - action: light.turn_off - metadata: {} - data: {} - target: - device_id: 52db33441371f13f0f217a2e66668a2c + - if: + - condition: trigger + id: + - giardino-on + then: + - action: light.turn_on + metadata: {} + data: {} + target: + device_id: 52db33441371f13f0f217a2e66668a2c + - if: + - condition: trigger + id: + - giardino-off + then: + - action: light.turn_off + metadata: {} + data: {} + target: + device_id: 52db33441371f13f0f217a2e66668a2c mode: single -- id: "1757871524695" +- id: '1757871524695' alias: EVcharge_process_PRO - description: "" + description: '' use_blueprint: path: homeassistant/evcharge_process_pro.yaml input: @@ -190,78 +189,77 @@ charged_entity1: input_number.evcharge_front_charged charged_entity2: input_number.evcharge_back_charged stop_button: input_button.evcharge_pro_stop -- id: "1758560143754" +- id: '1758560143754' alias: Cancelletto-on - description: "" + description: '' triggers: - - type: turned_on - device_id: 3c1785ee92ef67b2536571f4e318db84 - entity_id: 34480c273e9378e8582a881acd4a7871 - domain: binary_sensor - trigger: device + - type: turned_on + device_id: 3c1785ee92ef67b2536571f4e318db84 + entity_id: 34480c273e9378e8582a881acd4a7871 + domain: binary_sensor + trigger: device conditions: [] actions: - - action: input_boolean.turn_on - metadata: {} - data: {} - target: - entity_id: input_boolean.cancelletto_video_duration + - action: input_boolean.turn_on + metadata: {} + data: {} + target: + entity_id: input_boolean.cancelletto_video_duration mode: single -- id: "1758560334981" +- id: '1758560334981' alias: Cancelletto-off - description: "" + description: '' triggers: - - type: turned_off - device_id: 3c1785ee92ef67b2536571f4e318db84 - entity_id: 34480c273e9378e8582a881acd4a7871 - domain: binary_sensor - trigger: device - for: - hours: 0 - minutes: 0 - seconds: 48 + - type: turned_off + device_id: 3c1785ee92ef67b2536571f4e318db84 + entity_id: 34480c273e9378e8582a881acd4a7871 + domain: binary_sensor + trigger: device + for: + hours: 0 + minutes: 0 + seconds: 48 conditions: [] actions: - - action: input_boolean.turn_off - metadata: {} - data: {} - target: - entity_id: input_boolean.cancelletto_video_duration + - action: input_boolean.turn_off + metadata: {} + data: {} + target: + entity_id: input_boolean.cancelletto_video_duration mode: single -- id: "1759608901579" +- id: '1759608901579' alias: Luce-Manuale-Salotto - description: "" + description: '' triggers: - - trigger: state - entity_id: - - switch.luce_salotto_ctrl - id: luce-salotto-toogle + - trigger: state + entity_id: + - switch.luce_salotto_ctrl + id: luce-salotto-toogle conditions: [] actions: - - action: light.toggle - metadata: {} - data: {} - target: - entity_id: light.luce_salotto + - action: light.toggle + metadata: {} + data: {} + target: + entity_id: light.luce_salotto mode: single -- id: "1763497184744" +- id: '1763497184744' alias: ETcontroller_pub_setFixHPlimit - description: "" + description: '' triggers: - - trigger: state - entity_id: - - input_select.fix_hp_power + - trigger: state + entity_id: + - input_select.fix_hp_power conditions: [] actions: - - action: mqtt.publish - metadata: {} - data_template: - topic: etcontroller/sw/commands - payload: - "{\"cmd\": \"setFixHPlimit\", \"params\": {\n \"level\": \"{{states('input_select.fix_hp_power')}}\",\n - \ \"duration\": {{states('input_number.fix_hp_power_duration')}} }}" + - action: mqtt.publish + metadata: {} + data_template: + topic: etcontroller/sw/commands + payload: "{\"cmd\": \"setFixHPlimit\", \"params\": {\n \"level\": \"{{states('input_select.fix_hp_power')}}\",\n + \ \"duration\": {{states('input_number.fix_hp_power_duration')}} }}" mode: single -- id: "1774178169206" +- id: '1774178169206' alias: Luce Automatica Scala-Mansarda description: Motion light PRO dual use_blueprint: @@ -273,7 +271,7 @@ entity_id: light.luce_scala_mansarda no_motion_wait: 40 use_sun: true -- id: "1774178649402" +- id: '1774178649402' alias: Luce Automatica Scala-Taverna description: Motion light PRO dual per Scala Taverna use_blueprint: @@ -286,7 +284,7 @@ no_motion_wait: 40 use_sun: false dont_disturb: false -- id: "1774187260983" +- id: '1774187260983' alias: Luce Automatica Taverna-Garage description: Motion light PRO dual per Luce Taverna-Garage use_blueprint: @@ -300,186 +298,184 @@ use_sun: false dont_disturb: false no_motion_wait: 60 -- id: "1764007463105" +- id: '1764007463105' alias: ETcontroller_fix_limit_copy - description: - "This Automation allows to copy status from MQTT read HP Fix Limit + description: 'This Automation allows to copy status from MQTT read HP Fix Limit set by ETcontroller.py to internal input_select.fix_hp_power in order to align. dashboards when fix_hp_limit expires - " + ' triggers: - - trigger: state - entity_id: - - sensor.fix_hp_level_read + - trigger: state + entity_id: + - sensor.fix_hp_level_read conditions: [] actions: - - action: input_select.select_option - target: - entity_id: input_select.fix_hp_power - data_template: - option: "{{ states('sensor.fix_hp_level_read') }}" + - action: input_select.select_option + target: + entity_id: input_select.fix_hp_power + data_template: + option: '{{ states(''sensor.fix_hp_level_read'') }}' mode: single -- id: "1774188925405" - alias: Luce Automatica Garage - description: "" +- id: '1774188925405' + alias: Luce Automatica Garage-OLD + description: '' triggers: - - trigger: state - entity_id: - - binary_sensor.presenza_garage_occupancy - from: - - "off" - to: - - "on" - id: garage_on - - trigger: state - entity_id: - - binary_sensor.presenza_garage_occupancy - from: - - "on" - to: - - "off" - id: garage_off + - trigger: state + entity_id: + - binary_sensor.presenza_garage_occupancy + from: + - 'off' + to: + - 'on' + id: garage_on + - trigger: state + entity_id: + - binary_sensor.presenza_garage_occupancy + from: + - 'on' + to: + - 'off' + id: garage_off conditions: [] actions: - - if: - - condition: trigger - id: - - garage_on - then: - - action: light.turn_on - metadata: {} - target: - entity_id: light.luce_garage - data: {} - else: - - delay: - hours: 0 - minutes: 4 - seconds: 0 - milliseconds: 0 - - action: light.turn_off - metadata: {} - target: - entity_id: light.luce_garage - data: {} - mode: single -- id: "1765575450095" - alias: Xmas-light-mgmt - description: "" - triggers: - - trigger: sun - event: sunset - offset: "-900" - id: Xmas-light-on - - trigger: time - at: 01:00:00 - id: Xmas-light-off - - trigger: time - at: 06:50:00 - id: Xmas-light-on - - trigger: sun - event: sunrise - offset: "900" - id: Xmas-light-off - conditions: [] - actions: - - choose: - - conditions: - - condition: trigger - id: - - Xmas-light-on - sequence: - - action: light.turn_on - metadata: {} - target: - entity_id: - - light.presa_smart_1 - - light.presa_smart_11 - - light.presa_smart_2 - data: {} - - conditions: - - condition: trigger - id: - - Xmas-light-off - sequence: - - action: light.turn_off - metadata: {} - target: - entity_id: - - light.presa_smart_1 - - light.presa_smart_2 - - light.presa_smart_11 - data: {} - - conditions: [] - sequence: - - action: light.turn_off - metadata: {} - target: - entity_id: - - light.presa_smart_1 - - light.presa_smart_2 - - light.presa_smart_11 - data: {} - default: - - action: light.turn_off - metadata: {} - target: - entity_id: - - light.presa_smart_1 - - light.presa_smart_2 - - light.presa_smart_11 - data: {} - mode: single -- id: "1770243140821" - alias: ETHW_PRO_reset - description: "" - triggers: - - trigger: state - entity_id: - - input_button.ethw_pro_reset - conditions: [] - actions: - - action: switch.turn_on + - if: + - condition: trigger + id: + - garage_on + then: + - action: light.turn_on metadata: {} target: - device_id: 83fcb9d6fe7420d69f1b4cb63adfddae + entity_id: light.luce_garage data: {} + else: - delay: hours: 0 - minutes: 0 - seconds: 8 + minutes: 4 + seconds: 0 milliseconds: 0 - - action: switch.turn_off + - action: light.turn_off metadata: {} target: - device_id: 83fcb9d6fe7420d69f1b4cb63adfddae + entity_id: light.luce_garage + data: {} + mode: restart +- id: '1765575450095' + alias: Xmas-light-mgmt + description: '' + triggers: + - trigger: sun + event: sunset + offset: '-900' + id: Xmas-light-on + - trigger: time + at: 01:00:00 + id: Xmas-light-off + - trigger: time + at: 06:50:00 + id: Xmas-light-on + - trigger: sun + event: sunrise + offset: '900' + id: Xmas-light-off + conditions: [] + actions: + - choose: + - conditions: + - condition: trigger + id: + - Xmas-light-on + sequence: + - action: light.turn_on + metadata: {} + target: + entity_id: + - light.presa_smart_1 + - light.presa_smart_11 + - light.presa_smart_2 + data: {} + - conditions: + - condition: trigger + id: + - Xmas-light-off + sequence: + - action: light.turn_off + metadata: {} + target: + entity_id: + - light.presa_smart_1 + - light.presa_smart_2 + - light.presa_smart_11 + data: {} + - conditions: [] + sequence: + - action: light.turn_off + metadata: {} + target: + entity_id: + - light.presa_smart_1 + - light.presa_smart_2 + - light.presa_smart_11 + data: {} + default: + - action: light.turn_off + metadata: {} + target: + entity_id: + - light.presa_smart_1 + - light.presa_smart_2 + - light.presa_smart_11 data: {} mode: single -- id: "1770846621388" - alias: Nicola_send_message - description: "" +- id: '1770243140821' + alias: ETHW_PRO_reset + description: '' triggers: - - trigger: time - at: 08:30:00 - id: send_nicola_message - weekday: - - mon - - fri - - trigger: time - at: "18:00:00" - id: send_nicola_message - enabled: true - weekday: - - wed + - trigger: state + entity_id: + - input_button.ethw_pro_reset + conditions: [] actions: - - action: notify.tiziano_trabattoni_gmail_com - data: - target: "{{ recipient_persiane_list_gmail['target'] }}" - message: - "Ricordati di ordinare il materiale del terzo lotto incluse serramenti - e scorrevoli della porta finestra discussa con Mario. " - title: " Ricordati di ordinare il materiale del terzo lotto, da montare a settembre" + - action: switch.turn_on + metadata: {} + target: + device_id: 83fcb9d6fe7420d69f1b4cb63adfddae + data: {} + - delay: + hours: 0 + minutes: 0 + seconds: 8 + milliseconds: 0 + - action: switch.turn_off + metadata: {} + target: + device_id: 83fcb9d6fe7420d69f1b4cb63adfddae + data: {} + mode: single +- id: '1770846621388' + alias: Nicola_send_message + description: '' + triggers: + - trigger: time + at: 08:30:00 + id: send_nicola_message + weekday: + - mon + - fri + - trigger: time + at: '18:00:00' + id: send_nicola_message + enabled: true + weekday: + - wed + actions: + - action: notify.tiziano_trabattoni_gmail_com + data: + target: '{{ recipient_persiane_list_gmail[''target''] }}' + message: 'Ricordati di ordinare il materiale del terzo lotto incluse serramenti + e scorrevoli della porta finestra discussa con Mario. ' + title: ' Ricordati di ordinare il materiale del terzo lotto, da montare a settembre' mode: single variables: _cafe_metadata: @@ -497,186 +493,186 @@ recipient_persiane_list_gmail: title: Persiane di Tiziano target: - - sistemser@alice.it -- id: "1773510003619" + - sistemser@alice.it +- id: '1773510003619' alias: SalottoPT-save-energy - description: "" + description: '' use_blueprint: path: homeassistant/heat_save.yaml input: window_sensor: binary_sensor.salottopt_finestrapiccola_contact climate_target: climate.salottopt_termosifone ext_temp_limit: 17 -- id: "1773787966184" +- id: '1773787966184' alias: SE_fan_automation description: Manages fan under Solaredge Inverter triggers: - - trigger: numeric_state - entity_id: - - sensor.se_heatsink_temp - above: 36 - id: se_fan_on - - trigger: numeric_state - entity_id: - - sensor.se_heatsink_temp - below: 32 - id: se_fan_off + - trigger: numeric_state + entity_id: + - sensor.se_heatsink_temp + above: 36 + id: se_fan_on + - trigger: numeric_state + entity_id: + - sensor.se_heatsink_temp + below: 32 + id: se_fan_off conditions: [] actions: - - choose: - - conditions: - - condition: trigger - id: - - se_fan_on - sequence: - - type: turn_on - device_id: e3ed6a2244c1e2ddaeff6f94e96f25e1 - entity_id: 361d8b711623afed18b3e9397bdae647 - domain: switch - - conditions: - - condition: trigger - id: - - se_fan_off - sequence: - - type: turn_off - device_id: e3ed6a2244c1e2ddaeff6f94e96f25e1 - entity_id: 361d8b711623afed18b3e9397bdae647 - domain: switch - default: - - type: turn_off - device_id: e3ed6a2244c1e2ddaeff6f94e96f25e1 - entity_id: 361d8b711623afed18b3e9397bdae647 - domain: switch + - choose: + - conditions: + - condition: trigger + id: + - se_fan_on + sequence: + - type: turn_on + device_id: e3ed6a2244c1e2ddaeff6f94e96f25e1 + entity_id: 361d8b711623afed18b3e9397bdae647 + domain: switch + - conditions: + - condition: trigger + id: + - se_fan_off + sequence: + - type: turn_off + device_id: e3ed6a2244c1e2ddaeff6f94e96f25e1 + entity_id: 361d8b711623afed18b3e9397bdae647 + domain: switch + default: + - type: turn_off + device_id: e3ed6a2244c1e2ddaeff6f94e96f25e1 + entity_id: 361d8b711623afed18b3e9397bdae647 + domain: switch mode: single -- id: "1779547552608" +- id: '1779547552608' alias: Antizanzare_Piano_Primo - description: "" + description: '' triggers: - - trigger: time - at: "18:00:00" - id: Antizanz_on - - trigger: time - at: 05:00:00 - id: Antizanz_on - - trigger: time - at: "23:30:00" - id: Antizanz_off - - trigger: time - at: 08:30:00 - id: Antizanz_off + - trigger: time + at: '18:00:00' + id: Antizanz_on + - trigger: time + at: 05:00:00 + id: Antizanz_on + - trigger: time + at: '23:30:00' + id: Antizanz_off + - trigger: time + at: 08:30:00 + id: Antizanz_off conditions: [] actions: - - choose: - - conditions: - - condition: trigger - id: - - Antizanz_on - sequence: - - action: switch.turn_on - metadata: {} - target: - entity_id: switch.smart_plug_11 - data: {} - - conditions: - - condition: trigger - id: - - Antizanz_off - sequence: - - action: switch.turn_off - metadata: {} - target: - entity_id: switch.smart_plug_11 - data: {} - default: - - action: switch.turn_off - metadata: {} - target: - entity_id: switch.smart_plug_11 - data: {} + - choose: + - conditions: + - condition: trigger + id: + - Antizanz_on + sequence: + - action: switch.turn_on + metadata: {} + target: + entity_id: switch.smart_plug_11 + data: {} + - conditions: + - condition: trigger + id: + - Antizanz_off + sequence: + - action: switch.turn_off + metadata: {} + target: + entity_id: switch.smart_plug_11 + data: {} + default: + - action: switch.turn_off + metadata: {} + target: + entity_id: switch.smart_plug_11 + data: {} mode: single -- id: "1781556554445" +- id: '1781556554445' alias: Start Antizanzare (SmartPlug 11) per 1 ora - description: "" + description: '' use_blueprint: path: homeassistant/timed_switch.yaml input: button: input_button.start switch_target: switch.smart_plug_11 -- id: "1781788968184" +- id: '1781788968184' alias: Garage_door_open - description: "" + description: '' triggers: - - trigger: state - entity_id: - - binary_sensor.garage_porta_tagliafuoco_contact - from: - - "off" - to: - - "on" - id: Garage_door_open - for: - hours: 0 - minutes: 30 - seconds: 0 - - trigger: state - entity_id: - - binary_sensor.garage_porta_tagliafuoco_contact - from: - - "on" - to: - - "off" - id: Garage_door_close - for: - hours: 0 - minutes: 30 - seconds: 0 + - trigger: state + entity_id: + - binary_sensor.garage_porta_tagliafuoco_contact + from: + - 'off' + to: + - 'on' + id: Garage_door_open + for: + hours: 0 + minutes: 30 + seconds: 0 + - trigger: state + entity_id: + - binary_sensor.garage_porta_tagliafuoco_contact + from: + - 'on' + to: + - 'off' + id: Garage_door_close + for: + hours: 0 + minutes: 30 + seconds: 0 conditions: [] actions: - - choose: - - conditions: - - condition: trigger - id: - - Garage_door_open - sequence: - - action: notify.mobile_app_tiziano_iphone15pro - metadata: {} - data: - title: Porta Tagliafuoco Rimasta Aperta - target: notify.my_device - message: "" - - action: input_boolean.turn_on - target: - entity_id: - - input_boolean.garage_door_left_opened - data: {} - - conditions: - - condition: trigger - id: - - Garage_door_close - sequence: - - if: - - condition: state - entity_id: input_boolean.garage_door_left_opened - state: - - "on" - then: - - action: notify.mobile_app_tiziano_iphone15pro - metadata: {} - data: - title: Porta Tagliafuoco e' stata chiusa - target: notify.my_device - message: "" - - action: input_boolean.turn_off - target: - entity_id: - - input_boolean.garage_door_left_opened - data: {} + - choose: + - conditions: + - condition: trigger + id: + - Garage_door_open + sequence: + - action: notify.mobile_app_tiziano_iphone15pro + metadata: {} + data: + title: Porta Tagliafuoco Rimasta Aperta + target: notify.my_device + message: '' + - action: input_boolean.turn_on + target: + entity_id: + - input_boolean.garage_door_left_opened + data: {} + - conditions: + - condition: trigger + id: + - Garage_door_close + sequence: + - if: + - condition: state + entity_id: input_boolean.garage_door_left_opened + state: + - 'on' + then: + - action: notify.mobile_app_tiziano_iphone15pro + metadata: {} + data: + title: Porta Tagliafuoco e' stata chiusa + target: notify.my_device + message: '' + - action: input_boolean.turn_off + target: + entity_id: + - input_boolean.garage_door_left_opened + data: {} mode: single trace: stored_traces: 20 -- id: "1782056620495" +- id: '1782056620495' alias: Auto_AC_SoggiornoP1 - description: "" + description: '' use_blueprint: path: homeassistant/auto_ac_control.yaml input: @@ -685,19 +681,20 @@ temp_hist: 1.5 fan_ctrl: true override_duration: 2 -- id: "1782118235605" +- id: '1782118235605' alias: Auto_AC_Soggiorno - description: "" + description: '' use_blueprint: path: homeassistant/auto_ac_control.yaml input: temp_threshold: 27 climate_target: climate.soggiorno - temp_hist: 1.5 + temp_hist: 2 override_duration: 2 -- id: "1782579138023" + fan_ctrl: true +- id: '1782579138023' alias: Auto_AC_Mansarda - description: "" + description: '' use_blueprint: path: homeassistant/auto_ac_control.yaml input: @@ -706,9 +703,9 @@ climate_target: climate.mansarda fan_ctrl: true override_duration: 1 -- id: "1782579247001" +- id: '1782579247001' alias: Auto_AC_Matrimoniale - description: "" + description: '' use_blueprint: path: homeassistant/auto_ac_control.yaml input: @@ -717,14 +714,110 @@ temp_hist: 1.5 fan_ctrl: false override_duration: 2 -- id: "1783084867597" +- id: '1783084867597' alias: Auto_AC_Salotto - description: "" + description: '' use_blueprint: path: homeassistant/auto_ac_control.yaml input: temp_threshold: 27 - temp_hist: 1.5 + temp_hist: 2 climate_target: climate.salotto fan_ctrl: true override_duration: 2 +- id: '1785778044552' + alias: SE_fan_automation_PRO + description: '' + triggers: + - trigger: numeric_state + entity_id: + - sensor.se_heatsink_temp + for: + hours: 0 + minutes: 0 + seconds: 15 + above: 33 + id: se_fan_start + below: 52 + - trigger: numeric_state + entity_id: + - sensor.se_heatsink_temp + for: + hours: 0 + minutes: 1 + seconds: 0 + below: 34 + id: se_fan_stop + - trigger: numeric_state + entity_id: + - sensor.se_heatsink_temp + for: + hours: 0 + minutes: 0 + seconds: 15 + above: 52 + id: se_fan_max + - trigger: state + entity_id: sensor.se_heatsink_temp + id: se_fan_change + conditions: [] + actions: + - choose: + - conditions: + - condition: trigger + id: + - se_fan_start + sequence: + - action: fan.set_percentage + target: + entity_id: fan.system_se_fan_controller_fan_speed + data: + percentage: 50 + - delay: + hours: 0 + minutes: 0 + seconds: 2 + milliseconds: 0 + - action: fan.set_percentage + target: + entity_id: fan.system_se_fan_controller_fan_speed + data: + percentage: 20 + - conditions: + - condition: trigger + id: + - se_fan_stop + sequence: + - action: fan.set_percentage + target: + entity_id: fan.system_se_fan_controller_fan_speed + data: + percentage: 0 + - conditions: + - condition: trigger + id: + - se_fan_max + sequence: + - action: fan.set_percentage + target: + entity_id: fan.system_se_fan_controller_fan_speed + data: + percentage: 100 + - conditions: + - condition: trigger + id: + - se_fan_change + - condition: numeric_state + entity_id: sensor.se_heatsink_temp + above: 33 + below: 52 + sequence: + - action: fan.set_percentage + target: + entity_id: fan.system_se_fan_controller_fan_speed + data: + percentage: '{% set t = ((states(''sensor.se_heatsink_temp'') | float(2) + - 34.0) * 4.44) -%} {{ [ 20, t + 20.0 ] | max }} + + ' + mode: single diff --git a/secrets.yaml b/secrets.yaml index 7ef01b2..8cbd113 100644 --- a/secrets.yaml +++ b/secrets.yaml @@ -4,3 +4,5 @@ some_password: welcome mariadb_url: 'mysql://homeassistant:primolo1274@core-mariadb/homeassistant?charset=utf8mb4' + +