Compare commits
9 Commits
d37db0c59f
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 57efbc273f | |||
| 9a442a5ee9 | |||
| a1173d3a4f | |||
| b76d01d8c6 | |||
| b0c87c5443 | |||
| e196adf839 | |||
| 563614da00 | |||
| 40e85c10c0 | |||
| 81df14f119 |
+152
-151
@@ -1,4 +1,4 @@
|
|||||||
- id: '1729875991469'
|
- id: "1729875991469"
|
||||||
alias: BagnoOvest-save-energy
|
alias: BagnoOvest-save-energy
|
||||||
description: Thermostat will close upon window open
|
description: Thermostat will close upon window open
|
||||||
use_blueprint:
|
use_blueprint:
|
||||||
@@ -6,57 +6,58 @@
|
|||||||
input:
|
input:
|
||||||
window_sensor: binary_sensor.bagnoovest_finestra_contact
|
window_sensor: binary_sensor.bagnoovest_finestra_contact
|
||||||
climate_target: climate.bagnoovest_termosifone
|
climate_target: climate.bagnoovest_termosifone
|
||||||
- id: '1729887529602'
|
- id: "1729887529602"
|
||||||
alias: BagnoPT-save-energy
|
alias: BagnoPT-save-energy
|
||||||
description: ''
|
description: ""
|
||||||
use_blueprint:
|
use_blueprint:
|
||||||
path: homeassistant/heat_save.yaml
|
path: homeassistant/heat_save.yaml
|
||||||
input:
|
input:
|
||||||
window_sensor: binary_sensor.bagnopt_finestra_contact
|
window_sensor: binary_sensor.bagnopt_finestra_contact
|
||||||
climate_target: climate.bagnopt_termosifone
|
climate_target: climate.bagnopt_termosifone
|
||||||
ext_temp_limit: 17
|
ext_temp_limit: 17
|
||||||
- id: '1729887632269'
|
- id: "1729887632269"
|
||||||
alias: SoggiornoPT-save-energy
|
alias: SoggiornoPT-save-energy
|
||||||
description: ''
|
description: ""
|
||||||
use_blueprint:
|
use_blueprint:
|
||||||
path: homeassistant/heat_save.yaml
|
path: homeassistant/heat_save.yaml
|
||||||
input:
|
input:
|
||||||
window_sensor: binary_sensor.soggiornopt_finestrasud_contact
|
window_sensor: binary_sensor.soggiornopt_finestrasud_contact
|
||||||
climate_target: climate.soggiornopt_termosifonesud
|
climate_target: climate.soggiornopt_termosifonesud
|
||||||
ext_temp_limit: 17
|
ext_temp_limit: 17
|
||||||
- id: '1781536748271'
|
- id: "1781536748271"
|
||||||
alias: Camera-Ovest-save-energy
|
alias: Camera-Ovest-save-energy
|
||||||
description: ''
|
description: ""
|
||||||
use_blueprint:
|
use_blueprint:
|
||||||
path: homeassistant/heat_save.yaml
|
path: homeassistant/heat_save.yaml
|
||||||
input:
|
input:
|
||||||
window_sensor: binary_sensor.cameraovest_finestra_contact
|
window_sensor: binary_sensor.cameraovest_finestra_contact
|
||||||
climate_target: climate.cameraovest_termosifone
|
climate_target: climate.cameraovest_termosifone
|
||||||
ext_temp_limit: 17
|
ext_temp_limit: 17
|
||||||
- id: '1736805701473'
|
- id: "1736805701473"
|
||||||
alias: P1confort-light
|
alias: P1confort-light
|
||||||
description: ''
|
description: ""
|
||||||
use_blueprint:
|
use_blueprint:
|
||||||
path: homeassistant/confort_light.yaml
|
path: homeassistant/confort_light.yaml
|
||||||
input:
|
input:
|
||||||
light_target:
|
light_target:
|
||||||
device_id: e0397b54f1c2d1514be403e2996ca368
|
device_id: e0397b54f1c2d1514be403e2996ca368
|
||||||
- id: '1738426726761'
|
- id: "1738426726761"
|
||||||
alias: Test-Pulsante01
|
alias: Test-Pulsante01
|
||||||
description: ''
|
description: ""
|
||||||
use_blueprint:
|
use_blueprint:
|
||||||
path: homeassistant/button_action.yaml
|
path: homeassistant/button_action.yaml
|
||||||
input:
|
input:
|
||||||
light_target:
|
light_target:
|
||||||
entity_id: light.test_lamp1
|
entity_id: light.test_lamp1
|
||||||
- id: '1739393696392'
|
- id: "1739393696392"
|
||||||
alias: Power-load-high
|
alias: Power-load-high
|
||||||
description: ''
|
description: ""
|
||||||
use_blueprint:
|
use_blueprint:
|
||||||
path: homeassistant/power-load-high.yaml
|
path: homeassistant/power-load-high.yaml
|
||||||
- id: '1740247429602'
|
- id: "1740247429602"
|
||||||
alias: EVcharge-process
|
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)
|
power and energy entities)
|
||||||
use_blueprint:
|
use_blueprint:
|
||||||
path: homeassistant/evcharge-process.yaml
|
path: homeassistant/evcharge-process.yaml
|
||||||
@@ -66,14 +67,14 @@
|
|||||||
use_entity1: input_boolean.evcharge_front_request
|
use_entity1: input_boolean.evcharge_front_request
|
||||||
use_entity2: input_boolean.evcharge_back_request
|
use_entity2: input_boolean.evcharge_back_request
|
||||||
start_button: input_button.evcharge_start
|
start_button: input_button.evcharge_start
|
||||||
- id: '1740332596550'
|
- id: "1740332596550"
|
||||||
alias: test-email
|
alias: test-email
|
||||||
description: ''
|
description: ""
|
||||||
use_blueprint:
|
use_blueprint:
|
||||||
path: homeassistant/test_macro.yaml
|
path: homeassistant/test_macro.yaml
|
||||||
- id: '1753031203413'
|
- id: "1753031203413"
|
||||||
alias: Apri-Cancelletto
|
alias: Apri-Cancelletto
|
||||||
description: ''
|
description: ""
|
||||||
triggers:
|
triggers:
|
||||||
- trigger: state
|
- trigger: state
|
||||||
entity_id:
|
entity_id:
|
||||||
@@ -106,14 +107,14 @@
|
|||||||
target:
|
target:
|
||||||
device_id: 4a76297a493304816b1084c6979f4801
|
device_id: 4a76297a493304816b1084c6979f4801
|
||||||
mode: single
|
mode: single
|
||||||
- id: '1753371588861'
|
- id: "1753371588861"
|
||||||
alias: Cancelletto Alert
|
alias: Cancelletto Alert
|
||||||
description: ''
|
description: ""
|
||||||
triggers:
|
triggers:
|
||||||
- trigger: state
|
- trigger: state
|
||||||
entity_id:
|
entity_id:
|
||||||
- binary_sensor.cancelletto_visitor
|
- binary_sensor.cancelletto_visitor
|
||||||
to: 'on'
|
to: "on"
|
||||||
conditions: []
|
conditions: []
|
||||||
actions:
|
actions:
|
||||||
- device_id: 61ac46de1cc773e1b7d5faa379ee465b
|
- device_id: 61ac46de1cc773e1b7d5faa379ee465b
|
||||||
@@ -141,16 +142,16 @@
|
|||||||
message: Qualcuno ha suonato al Cancelletto usa Home Assistant
|
message: Qualcuno ha suonato al Cancelletto usa Home Assistant
|
||||||
enabled: false
|
enabled: false
|
||||||
mode: single
|
mode: single
|
||||||
- id: '1757599657040'
|
- id: "1757599657040"
|
||||||
alias: Luce-Giardino
|
alias: Luce-Giardino
|
||||||
description: ''
|
description: ""
|
||||||
triggers:
|
triggers:
|
||||||
- trigger: sun
|
- trigger: sun
|
||||||
event: sunset
|
event: sunset
|
||||||
offset: '1500'
|
offset: "1500"
|
||||||
id: giardino-on
|
id: giardino-on
|
||||||
- trigger: time
|
- trigger: time
|
||||||
at: '22:00:00'
|
at: "22:00:00"
|
||||||
id: giardino-off
|
id: giardino-off
|
||||||
conditions: []
|
conditions: []
|
||||||
actions:
|
actions:
|
||||||
@@ -175,9 +176,9 @@
|
|||||||
target:
|
target:
|
||||||
device_id: 52db33441371f13f0f217a2e66668a2c
|
device_id: 52db33441371f13f0f217a2e66668a2c
|
||||||
mode: single
|
mode: single
|
||||||
- id: '1757871524695'
|
- id: "1757871524695"
|
||||||
alias: EVcharge_process_PRO
|
alias: EVcharge_process_PRO
|
||||||
description: ''
|
description: ""
|
||||||
use_blueprint:
|
use_blueprint:
|
||||||
path: homeassistant/evcharge_process_pro.yaml
|
path: homeassistant/evcharge_process_pro.yaml
|
||||||
input:
|
input:
|
||||||
@@ -189,9 +190,9 @@
|
|||||||
charged_entity1: input_number.evcharge_front_charged
|
charged_entity1: input_number.evcharge_front_charged
|
||||||
charged_entity2: input_number.evcharge_back_charged
|
charged_entity2: input_number.evcharge_back_charged
|
||||||
stop_button: input_button.evcharge_pro_stop
|
stop_button: input_button.evcharge_pro_stop
|
||||||
- id: '1758560143754'
|
- id: "1758560143754"
|
||||||
alias: Cancelletto-on
|
alias: Cancelletto-on
|
||||||
description: ''
|
description: ""
|
||||||
triggers:
|
triggers:
|
||||||
- type: turned_on
|
- type: turned_on
|
||||||
device_id: 3c1785ee92ef67b2536571f4e318db84
|
device_id: 3c1785ee92ef67b2536571f4e318db84
|
||||||
@@ -206,9 +207,9 @@
|
|||||||
target:
|
target:
|
||||||
entity_id: input_boolean.cancelletto_video_duration
|
entity_id: input_boolean.cancelletto_video_duration
|
||||||
mode: single
|
mode: single
|
||||||
- id: '1758560334981'
|
- id: "1758560334981"
|
||||||
alias: Cancelletto-off
|
alias: Cancelletto-off
|
||||||
description: ''
|
description: ""
|
||||||
triggers:
|
triggers:
|
||||||
- type: turned_off
|
- type: turned_off
|
||||||
device_id: 3c1785ee92ef67b2536571f4e318db84
|
device_id: 3c1785ee92ef67b2536571f4e318db84
|
||||||
@@ -227,9 +228,9 @@
|
|||||||
target:
|
target:
|
||||||
entity_id: input_boolean.cancelletto_video_duration
|
entity_id: input_boolean.cancelletto_video_duration
|
||||||
mode: single
|
mode: single
|
||||||
- id: '1759608901579'
|
- id: "1759608901579"
|
||||||
alias: Luce-Manuale-Salotto
|
alias: Luce-Manuale-Salotto
|
||||||
description: ''
|
description: ""
|
||||||
triggers:
|
triggers:
|
||||||
- trigger: state
|
- trigger: state
|
||||||
entity_id:
|
entity_id:
|
||||||
@@ -243,9 +244,9 @@
|
|||||||
target:
|
target:
|
||||||
entity_id: light.luce_salotto
|
entity_id: light.luce_salotto
|
||||||
mode: single
|
mode: single
|
||||||
- id: '1763497184744'
|
- id: "1763497184744"
|
||||||
alias: ETcontroller_pub_setFixHPlimit
|
alias: ETcontroller_pub_setFixHPlimit
|
||||||
description: ''
|
description: ""
|
||||||
triggers:
|
triggers:
|
||||||
- trigger: state
|
- trigger: state
|
||||||
entity_id:
|
entity_id:
|
||||||
@@ -256,10 +257,11 @@
|
|||||||
metadata: {}
|
metadata: {}
|
||||||
data_template:
|
data_template:
|
||||||
topic: etcontroller/sw/commands
|
topic: etcontroller/sw/commands
|
||||||
payload: "{\"cmd\": \"setFixHPlimit\", \"params\": {\n \"level\": \"{{states('input_select.fix_hp_power')}}\",\n
|
payload:
|
||||||
|
"{\"cmd\": \"setFixHPlimit\", \"params\": {\n \"level\": \"{{states('input_select.fix_hp_power')}}\",\n
|
||||||
\ \"duration\": {{states('input_number.fix_hp_power_duration')}} }}"
|
\ \"duration\": {{states('input_number.fix_hp_power_duration')}} }}"
|
||||||
mode: single
|
mode: single
|
||||||
- id: '1774178169206'
|
- id: "1774178169206"
|
||||||
alias: Luce Automatica Scala-Mansarda
|
alias: Luce Automatica Scala-Mansarda
|
||||||
description: Motion light PRO dual
|
description: Motion light PRO dual
|
||||||
use_blueprint:
|
use_blueprint:
|
||||||
@@ -271,7 +273,7 @@
|
|||||||
entity_id: light.luce_scala_mansarda
|
entity_id: light.luce_scala_mansarda
|
||||||
no_motion_wait: 40
|
no_motion_wait: 40
|
||||||
use_sun: true
|
use_sun: true
|
||||||
- id: '1774178649402'
|
- id: "1774178649402"
|
||||||
alias: Luce Automatica Scala-Taverna
|
alias: Luce Automatica Scala-Taverna
|
||||||
description: Motion light PRO dual per Scala Taverna
|
description: Motion light PRO dual per Scala Taverna
|
||||||
use_blueprint:
|
use_blueprint:
|
||||||
@@ -284,7 +286,7 @@
|
|||||||
no_motion_wait: 40
|
no_motion_wait: 40
|
||||||
use_sun: false
|
use_sun: false
|
||||||
dont_disturb: false
|
dont_disturb: false
|
||||||
- id: '1774187260983'
|
- id: "1774187260983"
|
||||||
alias: Luce Automatica Taverna-Garage
|
alias: Luce Automatica Taverna-Garage
|
||||||
description: Motion light PRO dual per Luce Taverna-Garage
|
description: Motion light PRO dual per Luce Taverna-Garage
|
||||||
use_blueprint:
|
use_blueprint:
|
||||||
@@ -298,13 +300,14 @@
|
|||||||
use_sun: false
|
use_sun: false
|
||||||
dont_disturb: false
|
dont_disturb: false
|
||||||
no_motion_wait: 60
|
no_motion_wait: 60
|
||||||
- id: '1764007463105'
|
- id: "1764007463105"
|
||||||
alias: ETcontroller_fix_limit_copy
|
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.
|
set by ETcontroller.py to internal input_select.fix_hp_power in order to align.
|
||||||
dashboards when fix_hp_limit expires
|
dashboards when fix_hp_limit expires
|
||||||
|
|
||||||
'
|
"
|
||||||
triggers:
|
triggers:
|
||||||
- trigger: state
|
- trigger: state
|
||||||
entity_id:
|
entity_id:
|
||||||
@@ -315,27 +318,27 @@
|
|||||||
target:
|
target:
|
||||||
entity_id: input_select.fix_hp_power
|
entity_id: input_select.fix_hp_power
|
||||||
data_template:
|
data_template:
|
||||||
option: '{{ states(''sensor.fix_hp_level_read'') }}'
|
option: "{{ states('sensor.fix_hp_level_read') }}"
|
||||||
mode: single
|
mode: single
|
||||||
- id: '1774188925405'
|
- id: "1774188925405"
|
||||||
alias: Luce Automatica Garage
|
alias: Luce Automatica Garage
|
||||||
description: ''
|
description: ""
|
||||||
triggers:
|
triggers:
|
||||||
- trigger: state
|
- trigger: state
|
||||||
entity_id:
|
entity_id:
|
||||||
- binary_sensor.presenza_garage_occupancy
|
- binary_sensor.presenza_garage_occupancy
|
||||||
from:
|
from:
|
||||||
- 'off'
|
- "off"
|
||||||
to:
|
to:
|
||||||
- 'on'
|
- "on"
|
||||||
id: garage_on
|
id: garage_on
|
||||||
- trigger: state
|
- trigger: state
|
||||||
entity_id:
|
entity_id:
|
||||||
- binary_sensor.presenza_garage_occupancy
|
- binary_sensor.presenza_garage_occupancy
|
||||||
from:
|
from:
|
||||||
- 'on'
|
- "on"
|
||||||
to:
|
to:
|
||||||
- 'off'
|
- "off"
|
||||||
id: garage_off
|
id: garage_off
|
||||||
conditions: []
|
conditions: []
|
||||||
actions:
|
actions:
|
||||||
@@ -361,13 +364,13 @@
|
|||||||
entity_id: light.luce_garage
|
entity_id: light.luce_garage
|
||||||
data: {}
|
data: {}
|
||||||
mode: single
|
mode: single
|
||||||
- id: '1765575450095'
|
- id: "1765575450095"
|
||||||
alias: Xmas-light-mgmt
|
alias: Xmas-light-mgmt
|
||||||
description: ''
|
description: ""
|
||||||
triggers:
|
triggers:
|
||||||
- trigger: sun
|
- trigger: sun
|
||||||
event: sunset
|
event: sunset
|
||||||
offset: '-900'
|
offset: "-900"
|
||||||
id: Xmas-light-on
|
id: Xmas-light-on
|
||||||
- trigger: time
|
- trigger: time
|
||||||
at: 01:00:00
|
at: 01:00:00
|
||||||
@@ -377,7 +380,7 @@
|
|||||||
id: Xmas-light-on
|
id: Xmas-light-on
|
||||||
- trigger: sun
|
- trigger: sun
|
||||||
event: sunrise
|
event: sunrise
|
||||||
offset: '900'
|
offset: "900"
|
||||||
id: Xmas-light-off
|
id: Xmas-light-off
|
||||||
conditions: []
|
conditions: []
|
||||||
actions:
|
actions:
|
||||||
@@ -428,9 +431,9 @@
|
|||||||
- light.presa_smart_11
|
- light.presa_smart_11
|
||||||
data: {}
|
data: {}
|
||||||
mode: single
|
mode: single
|
||||||
- id: '1770243140821'
|
- id: "1770243140821"
|
||||||
alias: ETHW_PRO_reset
|
alias: ETHW_PRO_reset
|
||||||
description: ''
|
description: ""
|
||||||
triggers:
|
triggers:
|
||||||
- trigger: state
|
- trigger: state
|
||||||
entity_id:
|
entity_id:
|
||||||
@@ -453,9 +456,9 @@
|
|||||||
device_id: 83fcb9d6fe7420d69f1b4cb63adfddae
|
device_id: 83fcb9d6fe7420d69f1b4cb63adfddae
|
||||||
data: {}
|
data: {}
|
||||||
mode: single
|
mode: single
|
||||||
- id: '1770846621388'
|
- id: "1770846621388"
|
||||||
alias: Nicola_send_message
|
alias: Nicola_send_message
|
||||||
description: ''
|
description: ""
|
||||||
triggers:
|
triggers:
|
||||||
- trigger: time
|
- trigger: time
|
||||||
at: 08:30:00
|
at: 08:30:00
|
||||||
@@ -468,7 +471,7 @@
|
|||||||
- fri
|
- fri
|
||||||
- sat
|
- sat
|
||||||
- trigger: time
|
- trigger: time
|
||||||
at: '11:30:00'
|
at: "11:30:00"
|
||||||
id: send_nicola_message
|
id: send_nicola_message
|
||||||
weekday:
|
weekday:
|
||||||
- mon
|
- mon
|
||||||
@@ -479,7 +482,7 @@
|
|||||||
- sat
|
- sat
|
||||||
enabled: false
|
enabled: false
|
||||||
- trigger: time
|
- trigger: time
|
||||||
at: '14:00:00'
|
at: "14:00:00"
|
||||||
id: send_nicola_message
|
id: send_nicola_message
|
||||||
weekday:
|
weekday:
|
||||||
- mon
|
- mon
|
||||||
@@ -489,7 +492,7 @@
|
|||||||
- fri
|
- fri
|
||||||
enabled: true
|
enabled: true
|
||||||
- trigger: time
|
- trigger: time
|
||||||
at: '16:00:00'
|
at: "16:00:00"
|
||||||
id: send_nicola_message
|
id: send_nicola_message
|
||||||
weekday:
|
weekday:
|
||||||
- mon
|
- mon
|
||||||
@@ -499,7 +502,7 @@
|
|||||||
- fri
|
- fri
|
||||||
enabled: false
|
enabled: false
|
||||||
- trigger: time
|
- trigger: time
|
||||||
at: '18:00:00'
|
at: "18:00:00"
|
||||||
id: send_nicola_message
|
id: send_nicola_message
|
||||||
weekday:
|
weekday:
|
||||||
- mon
|
- mon
|
||||||
@@ -511,11 +514,13 @@
|
|||||||
actions:
|
actions:
|
||||||
- action: notify.tiziano_trabattoni_gmail_com
|
- action: notify.tiziano_trabattoni_gmail_com
|
||||||
data:
|
data:
|
||||||
target: '{{ recipient_persiane_list_gmail[''target''] }}'
|
target: "{{ recipient_persiane_list_gmail['target'] }}"
|
||||||
message: 'Ricordati di ordinare il materiale pwr il terzo lotto incluse serramenti
|
message:
|
||||||
e scorrevoli della porta finestra discussa con Mario. '
|
"Ricordati di ordinare il materiale pwr il terzo lotto incluse serramenti
|
||||||
title: Il 26 Giugno ti aspetto a montare le persiane che hai gia fatto. Ricordati
|
e scorrevoli della porta finestra discussa con Mario. "
|
||||||
di ordinare il materiale (vedi mail qui sotto)
|
title:
|
||||||
|
l'8 luglio Mercoledi prossimo ti aspetto a montare le persiane che hai
|
||||||
|
gia fatto. Ricordati di ordinare il materiale (vedi mail qui sotto)
|
||||||
mode: single
|
mode: single
|
||||||
variables:
|
variables:
|
||||||
_cafe_metadata:
|
_cafe_metadata:
|
||||||
@@ -534,16 +539,16 @@
|
|||||||
title: Persiane di Tiziano
|
title: Persiane di Tiziano
|
||||||
target:
|
target:
|
||||||
- sistemser@alice.it
|
- sistemser@alice.it
|
||||||
- id: '1773510003619'
|
- id: "1773510003619"
|
||||||
alias: SalottoPT-save-energy
|
alias: SalottoPT-save-energy
|
||||||
description: ''
|
description: ""
|
||||||
use_blueprint:
|
use_blueprint:
|
||||||
path: homeassistant/heat_save.yaml
|
path: homeassistant/heat_save.yaml
|
||||||
input:
|
input:
|
||||||
window_sensor: binary_sensor.salottopt_finestrapiccola_contact
|
window_sensor: binary_sensor.salottopt_finestrapiccola_contact
|
||||||
climate_target: climate.salottopt_termosifone
|
climate_target: climate.salottopt_termosifone
|
||||||
ext_temp_limit: 17
|
ext_temp_limit: 17
|
||||||
- id: '1773787966184'
|
- id: "1773787966184"
|
||||||
alias: SE_fan_automation
|
alias: SE_fan_automation
|
||||||
description: Manages fan under Solaredge Inverter
|
description: Manages fan under Solaredge Inverter
|
||||||
triggers:
|
triggers:
|
||||||
@@ -584,18 +589,18 @@
|
|||||||
entity_id: 361d8b711623afed18b3e9397bdae647
|
entity_id: 361d8b711623afed18b3e9397bdae647
|
||||||
domain: switch
|
domain: switch
|
||||||
mode: single
|
mode: single
|
||||||
- id: '1779547552608'
|
- id: "1779547552608"
|
||||||
alias: Antizanzare_Piano_Primo
|
alias: Antizanzare_Piano_Primo
|
||||||
description: ''
|
description: ""
|
||||||
triggers:
|
triggers:
|
||||||
- trigger: time
|
- trigger: time
|
||||||
at: '18:00:00'
|
at: "18:00:00"
|
||||||
id: Antizanz_on
|
id: Antizanz_on
|
||||||
- trigger: time
|
- trigger: time
|
||||||
at: 05:00:00
|
at: 05:00:00
|
||||||
id: Antizanz_on
|
id: Antizanz_on
|
||||||
- trigger: time
|
- trigger: time
|
||||||
at: '23:30:00'
|
at: "23:30:00"
|
||||||
id: Antizanz_off
|
id: Antizanz_off
|
||||||
- trigger: time
|
- trigger: time
|
||||||
at: 08:30:00
|
at: 08:30:00
|
||||||
@@ -630,114 +635,110 @@
|
|||||||
entity_id: switch.smart_plug_11
|
entity_id: switch.smart_plug_11
|
||||||
data: {}
|
data: {}
|
||||||
mode: single
|
mode: single
|
||||||
- id: '1780877974485'
|
- id: "1781556554445"
|
||||||
alias: Antizanzare 1 ora
|
|
||||||
description: ''
|
|
||||||
triggers: []
|
|
||||||
conditions: []
|
|
||||||
actions:
|
|
||||||
- action: light.turn_on
|
|
||||||
metadata: {}
|
|
||||||
target:
|
|
||||||
entity_id: light.presa_smart_11
|
|
||||||
data: {}
|
|
||||||
- delay:
|
|
||||||
hours: 1
|
|
||||||
minutes: 0
|
|
||||||
seconds: 0
|
|
||||||
milliseconds: 0
|
|
||||||
- action: light.turn_off
|
|
||||||
metadata: {}
|
|
||||||
target:
|
|
||||||
entity_id: light.presa_smart_11
|
|
||||||
data: {}
|
|
||||||
mode: single
|
|
||||||
- id: '1781556554445'
|
|
||||||
alias: Start Antizanzare (SmartPlug 11) per 1 ora
|
alias: Start Antizanzare (SmartPlug 11) per 1 ora
|
||||||
description: ''
|
description: ""
|
||||||
use_blueprint:
|
use_blueprint:
|
||||||
path: homeassistant/timed_switch.yaml
|
path: homeassistant/timed_switch.yaml
|
||||||
input:
|
input:
|
||||||
button: input_button.start
|
button: input_button.start
|
||||||
switch_target: switch.smart_plug_11
|
switch_target: switch.smart_plug_11
|
||||||
- id: '1781788968184'
|
- id: "1781788968184"
|
||||||
alias: Garage_door_open
|
alias: Garage_door_open
|
||||||
description: ''
|
description: ""
|
||||||
triggers:
|
triggers:
|
||||||
- trigger: state
|
- trigger: state
|
||||||
entity_id:
|
entity_id:
|
||||||
- binary_sensor.garage_porta_tagliafuoco_contact
|
- binary_sensor.garage_porta_tagliafuoco_contact
|
||||||
from:
|
from:
|
||||||
- 'off'
|
- "off"
|
||||||
to:
|
to:
|
||||||
- 'on'
|
- "on"
|
||||||
id: Garage_door_open
|
id: Garage_door_open
|
||||||
for:
|
for:
|
||||||
hours: 0
|
hours: 0
|
||||||
minutes: 30
|
minutes: 30
|
||||||
seconds: 0
|
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: []
|
conditions: []
|
||||||
actions:
|
actions:
|
||||||
- action: notify.mobile_app_tiziano_iphone15pro
|
|
||||||
metadata: {}
|
|
||||||
data:
|
|
||||||
title: Porta Tagliafuoco Rimasta Aperta
|
|
||||||
mode: single
|
|
||||||
- id: '1782034930892'
|
|
||||||
alias: Mansarda_auto_AC_test
|
|
||||||
description: ''
|
|
||||||
triggers:
|
|
||||||
- trigger: numeric_state
|
|
||||||
entity_id:
|
|
||||||
- sensor.mansarda_inside_temperature
|
|
||||||
above: 29
|
|
||||||
id: Mansarda_AC_on
|
|
||||||
- trigger: numeric_state
|
|
||||||
entity_id:
|
|
||||||
- sensor.mansarda_temperature
|
|
||||||
below: 27
|
|
||||||
id: Mansarda_AC_off
|
|
||||||
conditions: []
|
|
||||||
actions:
|
|
||||||
- action: climate.set_hvac_mode
|
|
||||||
metadata: {}
|
|
||||||
target:
|
|
||||||
entity_id: climate.mansarda
|
|
||||||
data:
|
|
||||||
hvac_mode: cool
|
|
||||||
- choose:
|
- choose:
|
||||||
- conditions:
|
- conditions:
|
||||||
- condition: trigger
|
- condition: trigger
|
||||||
id:
|
id:
|
||||||
- Mansarda_AC_on
|
- Garage_door_open
|
||||||
sequence:
|
sequence:
|
||||||
- action: climate.set_hvac_mode
|
- action: notify.mobile_app_tiziano_iphone15pro
|
||||||
metadata: {}
|
metadata: {}
|
||||||
target:
|
|
||||||
entity_id: climate.mansarda
|
|
||||||
data:
|
data:
|
||||||
hvac_mode: cool
|
title: Porta Tagliafuoco Rimasta Aperta
|
||||||
- action: climate.set_fan_mode
|
target: notify.my_device
|
||||||
metadata: {}
|
message: ""
|
||||||
target:
|
|
||||||
entity_id: climate.mansarda
|
|
||||||
data:
|
|
||||||
fan_mode: Auto
|
|
||||||
- conditions:
|
- conditions:
|
||||||
- condition: trigger
|
- condition: trigger
|
||||||
id:
|
id:
|
||||||
- Mansarda_AC_off
|
- Garage_door_close
|
||||||
sequence:
|
sequence:
|
||||||
- action: climate.set_hvac_mode
|
- action: notify.mobile_app_tiziano_iphone15pro
|
||||||
metadata: {}
|
metadata: {}
|
||||||
target:
|
|
||||||
entity_id: climate.mansarda
|
|
||||||
data:
|
data:
|
||||||
hvac_mode: 'off'
|
title: Porta Tagliafuoco e' stata chiusa
|
||||||
- action: climate.set_fan_mode
|
target: notify.my_device
|
||||||
metadata: {}
|
message: ""
|
||||||
target:
|
|
||||||
entity_id: climate.mansarda
|
|
||||||
data:
|
|
||||||
fan_mode: Auto
|
|
||||||
mode: single
|
mode: single
|
||||||
|
- id: "1782056620495"
|
||||||
|
alias: Auto_AC_SoggiornoP1
|
||||||
|
description: ""
|
||||||
|
use_blueprint:
|
||||||
|
path: homeassistant/auto_ac_control.yaml
|
||||||
|
input:
|
||||||
|
temp_threshold: 27.0
|
||||||
|
climate_target: climate.soggiorno_1
|
||||||
|
temp_hist: 1.5
|
||||||
|
- id: "1782118235605"
|
||||||
|
alias: Auto_AC_Soggiorno
|
||||||
|
description: ""
|
||||||
|
use_blueprint:
|
||||||
|
path: homeassistant/auto_ac_control.yaml
|
||||||
|
input:
|
||||||
|
temp_threshold: 27.0
|
||||||
|
climate_target: climate.soggiorno
|
||||||
|
temp_hist: 1.5
|
||||||
|
- id: "1782579138023"
|
||||||
|
alias: Auto_AC_Mansarda
|
||||||
|
description: ""
|
||||||
|
use_blueprint:
|
||||||
|
path: homeassistant/auto_ac_control.yaml
|
||||||
|
input:
|
||||||
|
temp_threshold: 30.0
|
||||||
|
temp_hist: 2
|
||||||
|
climate_target: climate.mansarda
|
||||||
|
- id: "1782579247001"
|
||||||
|
alias: Auto_AC_Matrimoniale
|
||||||
|
description: ""
|
||||||
|
use_blueprint:
|
||||||
|
path: homeassistant/auto_ac_control.yaml
|
||||||
|
input:
|
||||||
|
temp_threshold: 26.0
|
||||||
|
climate_target: climate.matrimoniale
|
||||||
|
temp_hist: 1.5
|
||||||
|
- id: "1783084867597"
|
||||||
|
alias: Auto_AC_Salotto
|
||||||
|
description: ""
|
||||||
|
use_blueprint:
|
||||||
|
path: homeassistant/auto_ac_control.yaml
|
||||||
|
input:
|
||||||
|
temp_threshold: 27.5
|
||||||
|
temp_hist: 1.5
|
||||||
|
climate_target: climate.salotto
|
||||||
|
|||||||
@@ -0,0 +1,108 @@
|
|||||||
|
blueprint:
|
||||||
|
name: Auto AC Control
|
||||||
|
description: Auto Turn on Air Conditioning
|
||||||
|
domain: automation
|
||||||
|
author: Tiziano Trabattoni
|
||||||
|
input:
|
||||||
|
temp_threshold:
|
||||||
|
name: Temperature Threshold to switch AC on
|
||||||
|
description: This threshold is the temperature above which AC must be switched on
|
||||||
|
default: 29.0
|
||||||
|
selector:
|
||||||
|
number:
|
||||||
|
min: 25.0
|
||||||
|
max: 40.0
|
||||||
|
step: 0.5
|
||||||
|
unit_of_measurement: celsius
|
||||||
|
|
||||||
|
temp_hist:
|
||||||
|
name: Temperature Histeresys from off to on
|
||||||
|
description: This gap is difference between on and off
|
||||||
|
default: 2.0
|
||||||
|
selector:
|
||||||
|
number:
|
||||||
|
min: 1.0
|
||||||
|
max: 4.0
|
||||||
|
step: 0.5
|
||||||
|
unit_of_measurement: celsius
|
||||||
|
|
||||||
|
climate_target:
|
||||||
|
name: Termostat Control
|
||||||
|
description: Identifies the AC climate to be controlled
|
||||||
|
selector:
|
||||||
|
entity:
|
||||||
|
filter:
|
||||||
|
- domain: climate
|
||||||
|
|
||||||
|
mode: restart
|
||||||
|
|
||||||
|
variables:
|
||||||
|
target_AC: !input climate_target
|
||||||
|
target_temp: !input temp_threshold
|
||||||
|
target_hist: !input temp_hist
|
||||||
|
|
||||||
|
triggers:
|
||||||
|
- trigger: state
|
||||||
|
entity_id: !input climate_target
|
||||||
|
attribute: current_temperature
|
||||||
|
|
||||||
|
conditions: []
|
||||||
|
|
||||||
|
actions:
|
||||||
|
- choose:
|
||||||
|
# CONDITION 1: Turn AC ON & Adjust Fan
|
||||||
|
- conditions:
|
||||||
|
- condition: template
|
||||||
|
value_template: "{{ state_attr(target_AC, 'current_temperature') | float(0) >= target_temp }}"
|
||||||
|
- condition: or
|
||||||
|
conditions:
|
||||||
|
- condition: state
|
||||||
|
entity_id: !input climate_target
|
||||||
|
state: "off"
|
||||||
|
- condition: state
|
||||||
|
entity_id: !input climate_target
|
||||||
|
state: "heat_cool"
|
||||||
|
- condition: state
|
||||||
|
entity_id: !input climate_target
|
||||||
|
state: "dry"
|
||||||
|
- condition: state
|
||||||
|
entity_id: !input climate_target
|
||||||
|
state: "fan_only"
|
||||||
|
sequence:
|
||||||
|
- action: climate.set_hvac_mode
|
||||||
|
target:
|
||||||
|
entity_id: !input climate_target
|
||||||
|
data:
|
||||||
|
hvac_mode: cool
|
||||||
|
- action: climate.set_fan_mode
|
||||||
|
target:
|
||||||
|
entity_id: !input climate_target
|
||||||
|
data:
|
||||||
|
fan_mode: >-
|
||||||
|
{% set curr_temp = state_attr(target_AC, 'current_temperature') | float(0) -%}
|
||||||
|
{% set targ_temp = state_attr(target_AC, 'temperature') | float(0) -%}
|
||||||
|
{% set diff_temp = curr_temp - targ_temp -%}
|
||||||
|
{% if diff_temp >= 4.0 -%}
|
||||||
|
5
|
||||||
|
{% elif diff_temp >= 3.5 and diff_temp < 4.0 -%}
|
||||||
|
4
|
||||||
|
{% elif diff_temp >= 3.0 and diff_temp < 3.5 -%}
|
||||||
|
3
|
||||||
|
{% elif diff_temp >= 1.5 and diff_temp < 3.0 -%}
|
||||||
|
2
|
||||||
|
{% else -%}
|
||||||
|
Auto
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
# CONDITION 2: Turn AC OFF (Hysteresis)
|
||||||
|
- conditions:
|
||||||
|
- condition: template
|
||||||
|
value_template: >-
|
||||||
|
{{ state_attr(target_AC, 'current_temperature') | float(0) <= (target_temp | float(0) - target_hist | float(0)) }}
|
||||||
|
- condition: state
|
||||||
|
entity_id: !input climate_target
|
||||||
|
state: "cool"
|
||||||
|
sequence:
|
||||||
|
- action: climate.turn_off
|
||||||
|
target:
|
||||||
|
entity_id: !input climate_target
|
||||||
@@ -4,6 +4,24 @@ default_config:
|
|||||||
# packages directory
|
# packages directory
|
||||||
homeassistant:
|
homeassistant:
|
||||||
packages: !include_dir_named packages_dir
|
packages: !include_dir_named packages_dir
|
||||||
|
# customize temperature steps
|
||||||
|
customize:
|
||||||
|
climate.mansarda:
|
||||||
|
target_temp_step: 0.5
|
||||||
|
climate.matrimoniale:
|
||||||
|
target_temp_step: 0.5
|
||||||
|
climate.soggiorno_1:
|
||||||
|
target_temp_step: 0.5
|
||||||
|
climate.camera_est:
|
||||||
|
target_temp_step: 0.5
|
||||||
|
climate.camera_ovest:
|
||||||
|
target_temp_step: 0.5
|
||||||
|
climate.soggiorno:
|
||||||
|
target_temp_step: 0.5
|
||||||
|
climate.salotto:
|
||||||
|
target_temp_step: 0.5
|
||||||
|
climate.studio_est:
|
||||||
|
target_temp_step: 0.5
|
||||||
|
|
||||||
# Load frontend themes from the themes folder
|
# Load frontend themes from the themes folder
|
||||||
frontend:
|
frontend:
|
||||||
|
|||||||
@@ -72,6 +72,32 @@
|
|||||||
state_topic: monitoring/se/values
|
state_topic: monitoring/se/values
|
||||||
value_template: >-
|
value_template: >-
|
||||||
{{ (value_json.hs_t | int) / 100 }}
|
{{ (value_json.hs_t | int) / 100 }}
|
||||||
|
- name: SE_status
|
||||||
|
unique_id: mon_se_status
|
||||||
|
state_topic: monitoring/se/values
|
||||||
|
value_template: >-
|
||||||
|
{{ (value_json.stat | int) }}
|
||||||
|
- name: SE_status_txt
|
||||||
|
unique_id: mon_se_status_txt
|
||||||
|
state_topic: monitoring/se/values
|
||||||
|
value_template: >-
|
||||||
|
{% if (states('sensor.se_status') | int) == 1 -%}
|
||||||
|
OFF
|
||||||
|
{% elif (states('sensor.se_status') | int) == 2 -%}
|
||||||
|
Sleep
|
||||||
|
{% elif (states('sensor.se_status') | int) == 3 -%}
|
||||||
|
Wake Up
|
||||||
|
{% elif (states('sensor.se_status') | int) == 4 -%}
|
||||||
|
Running
|
||||||
|
{% elif (states('sensor.se_status') | int) == 5 -%}
|
||||||
|
Throttled
|
||||||
|
{% elif (states('sensor.se_status') | int) == 6 -%}
|
||||||
|
Shutdown!
|
||||||
|
{% elif (states('sensor.se_status') | int) == 7 -%}
|
||||||
|
Faulty!
|
||||||
|
{% else -%}
|
||||||
|
Template Error
|
||||||
|
{% endif %}
|
||||||
- name: SE_Total_power
|
- name: SE_Total_power
|
||||||
unit_of_measurement: "MW"
|
unit_of_measurement: "MW"
|
||||||
unique_id: mon_se_tot_p
|
unique_id: mon_se_tot_p
|
||||||
|
|||||||
Reference in New Issue
Block a user