Compare commits
2 Commits
7fee79c364
...
c2d91b3646
| Author | SHA1 | Date | |
|---|---|---|---|
| c2d91b3646 | |||
| cdb498be6a |
@@ -1 +1 @@
|
|||||||
2025.12.2
|
2025.12.4
|
||||||
@@ -1 +1 @@
|
|||||||
{"pid": 68, "version": 1, "ha_version": "2025.12.2", "start_ts": 1765482884.5000265}
|
{"pid": 67, "version": 1, "ha_version": "2025.12.4", "start_ts": 1766360674.64677}
|
||||||
424
automations.yaml
424
automations.yaml
@@ -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,27 +6,27 @@
|
|||||||
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: '1731705145404'
|
- id: "1731705145404"
|
||||||
alias: Luce Automatica Scala Mansarda
|
alias: Luce Automatica Scala Mansarda
|
||||||
description: ''
|
description: ""
|
||||||
use_blueprint:
|
use_blueprint:
|
||||||
path: homeassistant/motion_light_dual_ng.yaml
|
path: homeassistant/motion_light_dual_ng.yaml
|
||||||
input:
|
input:
|
||||||
@@ -35,9 +35,9 @@
|
|||||||
light_target:
|
light_target:
|
||||||
device_id: 702137a6f2c17b89fdb0598f7003743c
|
device_id: 702137a6f2c17b89fdb0598f7003743c
|
||||||
no_motion_wait: 30
|
no_motion_wait: 30
|
||||||
- id: '1732739522749'
|
- id: "1732739522749"
|
||||||
alias: Luce Automatica Taverna Garage
|
alias: Luce Automatica Taverna Garage
|
||||||
description: ''
|
description: ""
|
||||||
use_blueprint:
|
use_blueprint:
|
||||||
path: homeassistant/motion_light_trix_ng.yaml
|
path: homeassistant/motion_light_trix_ng.yaml
|
||||||
input:
|
input:
|
||||||
@@ -49,17 +49,17 @@
|
|||||||
use_sun: false
|
use_sun: false
|
||||||
dont_disturb: false
|
dont_disturb: false
|
||||||
no_motion_wait: 40
|
no_motion_wait: 40
|
||||||
- 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: '1738366774549'
|
- id: "1738366774549"
|
||||||
alias: Test-motion-light-ng
|
alias: Test-motion-light-ng
|
||||||
description: ''
|
description: ""
|
||||||
use_blueprint:
|
use_blueprint:
|
||||||
path: homeassistant/motion_light_dual_ng.yaml
|
path: homeassistant/motion_light_dual_ng.yaml
|
||||||
input:
|
input:
|
||||||
@@ -69,22 +69,23 @@
|
|||||||
device_id: 9f46c5b7c07f1495e0f4bf8d6f72a525
|
device_id: 9f46c5b7c07f1495e0f4bf8d6f72a525
|
||||||
no_motion_wait: 0
|
no_motion_wait: 0
|
||||||
dont_disturb: false
|
dont_disturb: false
|
||||||
- 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
|
||||||
@@ -94,14 +95,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: '1748185066312'
|
- id: "1748185066312"
|
||||||
alias: Luce-Garage
|
alias: Luce-Garage
|
||||||
description: ''
|
description: ""
|
||||||
use_blueprint:
|
use_blueprint:
|
||||||
path: homeassistant/presence_light.yaml
|
path: homeassistant/presence_light.yaml
|
||||||
input:
|
input:
|
||||||
@@ -111,79 +112,79 @@
|
|||||||
use_sun: false
|
use_sun: false
|
||||||
dont_disturb: false
|
dont_disturb: false
|
||||||
no_presence_wait: 180
|
no_presence_wait: 180
|
||||||
- id: '1753031203413'
|
- id: "1753031203413"
|
||||||
alias: Apri-Cancelletto
|
alias: Apri-Cancelletto
|
||||||
description: ''
|
description: ""
|
||||||
triggers:
|
triggers:
|
||||||
- trigger: state
|
- trigger: state
|
||||||
entity_id:
|
entity_id:
|
||||||
- input_button.apri_cancelletto
|
- input_button.apri_cancelletto
|
||||||
conditions: []
|
conditions: []
|
||||||
actions:
|
actions:
|
||||||
- action: switch.turn_on
|
- action: switch.turn_on
|
||||||
metadata: {}
|
metadata: {}
|
||||||
data: {}
|
data: {}
|
||||||
target:
|
target:
|
||||||
device_id: 4a76297a493304816b1084c6979f4801
|
device_id: 4a76297a493304816b1084c6979f4801
|
||||||
- delay:
|
- delay:
|
||||||
hours: 0
|
hours: 0
|
||||||
minutes: 0
|
minutes: 0
|
||||||
seconds: 0
|
seconds: 0
|
||||||
milliseconds: 200
|
milliseconds: 200
|
||||||
- action: switch.turn_off
|
- action: switch.turn_off
|
||||||
metadata: {}
|
metadata: {}
|
||||||
data: {}
|
data: {}
|
||||||
target:
|
target:
|
||||||
device_id: 4a76297a493304816b1084c6979f4801
|
device_id: 4a76297a493304816b1084c6979f4801
|
||||||
- delay:
|
- delay:
|
||||||
hours: 0
|
hours: 0
|
||||||
minutes: 0
|
minutes: 0
|
||||||
seconds: 2
|
seconds: 2
|
||||||
milliseconds: 0
|
milliseconds: 0
|
||||||
- action: switch.turn_off
|
- action: switch.turn_off
|
||||||
metadata: {}
|
metadata: {}
|
||||||
data: {}
|
data: {}
|
||||||
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
|
||||||
domain: mobile_app
|
domain: mobile_app
|
||||||
type: notify
|
type: notify
|
||||||
message: Qualcuno ha suonato al Cancelletto usa Home Assistant
|
message: Qualcuno ha suonato al Cancelletto usa Home Assistant
|
||||||
- device_id: f0ad21f704179a15735313abaa4bd548
|
- device_id: f0ad21f704179a15735313abaa4bd548
|
||||||
domain: mobile_app
|
domain: mobile_app
|
||||||
type: notify
|
type: notify
|
||||||
message: Qualcuno ha suonato al Cancelletto usa Home Assistant
|
message: Qualcuno ha suonato al Cancelletto usa Home Assistant
|
||||||
enabled: false
|
enabled: false
|
||||||
- device_id: 46e6c7b252a23f498de8602ca380d0a9
|
- device_id: 46e6c7b252a23f498de8602ca380d0a9
|
||||||
domain: mobile_app
|
domain: mobile_app
|
||||||
type: notify
|
type: notify
|
||||||
message: Qualcuno ha suonato al Cancelletto usa Home Assistant
|
message: Qualcuno ha suonato al Cancelletto usa Home Assistant
|
||||||
enabled: true
|
enabled: true
|
||||||
- device_id: 163daed9ae6074cfa3a10b866ab5d2e0
|
- device_id: 163daed9ae6074cfa3a10b866ab5d2e0
|
||||||
domain: mobile_app
|
domain: mobile_app
|
||||||
type: notify
|
type: notify
|
||||||
message: Qualcuno ha suonato al Cancelletto usa Home Assistant
|
message: Qualcuno ha suonato al Cancelletto usa Home Assistant
|
||||||
enabled: false
|
enabled: false
|
||||||
- device_id: 8836f21983cdb6b245d3be58d7acd7d7
|
- device_id: 8836f21983cdb6b245d3be58d7acd7d7
|
||||||
domain: mobile_app
|
domain: mobile_app
|
||||||
type: notify
|
type: notify
|
||||||
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: '1756127648616'
|
- id: "1756127648616"
|
||||||
alias: Luce Automatica Scala Taverna
|
alias: Luce Automatica Scala Taverna
|
||||||
description: ''
|
description: ""
|
||||||
use_blueprint:
|
use_blueprint:
|
||||||
path: homeassistant/motion_light_dual_ng.yaml
|
path: homeassistant/motion_light_dual_ng.yaml
|
||||||
input:
|
input:
|
||||||
@@ -194,43 +195,43 @@
|
|||||||
use_sun: false
|
use_sun: false
|
||||||
dont_disturb: false
|
dont_disturb: false
|
||||||
no_motion_wait: 30
|
no_motion_wait: 30
|
||||||
- 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:
|
||||||
- if:
|
- if:
|
||||||
- condition: trigger
|
- condition: trigger
|
||||||
id:
|
id:
|
||||||
- giardino-on
|
- giardino-on
|
||||||
then:
|
then:
|
||||||
- action: light.turn_on
|
- action: light.turn_on
|
||||||
metadata: {}
|
metadata: {}
|
||||||
data: {}
|
data: {}
|
||||||
target:
|
target:
|
||||||
device_id: 52db33441371f13f0f217a2e66668a2c
|
device_id: 52db33441371f13f0f217a2e66668a2c
|
||||||
- if:
|
- if:
|
||||||
- condition: trigger
|
- condition: trigger
|
||||||
id:
|
id:
|
||||||
- giardino-off
|
- giardino-off
|
||||||
then:
|
then:
|
||||||
- action: light.turn_off
|
- action: light.turn_off
|
||||||
metadata: {}
|
metadata: {}
|
||||||
data: {}
|
data: {}
|
||||||
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:
|
||||||
@@ -242,92 +243,161 @@
|
|||||||
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
|
||||||
entity_id: 34480c273e9378e8582a881acd4a7871
|
entity_id: 34480c273e9378e8582a881acd4a7871
|
||||||
domain: binary_sensor
|
domain: binary_sensor
|
||||||
trigger: device
|
trigger: device
|
||||||
conditions: []
|
conditions: []
|
||||||
actions:
|
actions:
|
||||||
- action: input_boolean.turn_on
|
- action: input_boolean.turn_on
|
||||||
metadata: {}
|
metadata: {}
|
||||||
data: {}
|
data: {}
|
||||||
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
|
||||||
entity_id: 34480c273e9378e8582a881acd4a7871
|
entity_id: 34480c273e9378e8582a881acd4a7871
|
||||||
domain: binary_sensor
|
domain: binary_sensor
|
||||||
trigger: device
|
trigger: device
|
||||||
for:
|
for:
|
||||||
hours: 0
|
hours: 0
|
||||||
minutes: 0
|
minutes: 0
|
||||||
seconds: 48
|
seconds: 48
|
||||||
conditions: []
|
conditions: []
|
||||||
actions:
|
actions:
|
||||||
- action: input_boolean.turn_off
|
- action: input_boolean.turn_off
|
||||||
metadata: {}
|
metadata: {}
|
||||||
data: {}
|
data: {}
|
||||||
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:
|
||||||
- switch.luce_salotto_ctrl
|
- switch.luce_salotto_ctrl
|
||||||
id: luce-salotto-toogle
|
id: luce-salotto-toogle
|
||||||
conditions: []
|
conditions: []
|
||||||
actions:
|
actions:
|
||||||
- action: light.toggle
|
- action: light.toggle
|
||||||
metadata: {}
|
metadata: {}
|
||||||
data: {}
|
data: {}
|
||||||
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:
|
||||||
- input_select.fix_hp_power
|
- input_select.fix_hp_power
|
||||||
conditions: []
|
conditions: []
|
||||||
actions:
|
actions:
|
||||||
- action: mqtt.publish
|
- action: mqtt.publish
|
||||||
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:
|
||||||
\ \"duration\": {{states('input_number.fix_hp_power_duration')}} }}"
|
"{\"cmd\": \"setFixHPlimit\", \"params\": {\n \"level\": \"{{states('input_select.fix_hp_power')}}\",\n
|
||||||
|
\ \"duration\": {{states('input_number.fix_hp_power_duration')}} }}"
|
||||||
mode: single
|
mode: single
|
||||||
- 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:
|
||||||
- sensor.fix_hp_level_read
|
- sensor.fix_hp_level_read
|
||||||
conditions: []
|
conditions: []
|
||||||
actions:
|
actions:
|
||||||
- action: input_select.select_option
|
- action: input_select.select_option
|
||||||
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
|
||||||
|
- 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
|
mode: single
|
||||||
|
|||||||
174
mqtt.yaml
174
mqtt.yaml
@@ -1,5 +1,17 @@
|
|||||||
---
|
---
|
||||||
- sensor:
|
- sensor:
|
||||||
|
# DO NOT REMOVE: Essential for ZIGBEE2MQTT
|
||||||
|
- name: Zigbee2mqtt Networkmap
|
||||||
|
unique_id: zigbee2mqtt_bridge_network_map
|
||||||
|
# if you change base_topic of Zigbee2mqtt, change state_topic accordingly
|
||||||
|
state_topic: zigbee2mqtt/bridge/response/networkmap
|
||||||
|
value_template: >-
|
||||||
|
{{ now().strftime('%Y-%m-%d %H:%M:%S') }}
|
||||||
|
# again, if you change base_topic of Zigbee2mqtt, change json_attributes_topic accordingly
|
||||||
|
json_attributes_topic: zigbee2mqtt/bridge/response/networkmap
|
||||||
|
json_attributes_template: "{{ value_json.data.value | tojson }}"
|
||||||
|
|
||||||
|
# HP / Solaredge / ACS published values
|
||||||
- name: HP_power
|
- name: HP_power
|
||||||
unit_of_measurement: "W"
|
unit_of_measurement: "W"
|
||||||
unique_id: mon_hp_pw
|
unique_id: mon_hp_pw
|
||||||
@@ -71,12 +83,158 @@
|
|||||||
state_topic: etcontroller/sw/answers
|
state_topic: etcontroller/sw/answers
|
||||||
value_template: >-
|
value_template: >-
|
||||||
{{ value_json['values'].level }}
|
{{ value_json['values'].level }}
|
||||||
- name: Zigbee2mqtt Networkmap
|
|
||||||
unique_id: zigbee2mqtt_bridge_network_map
|
# UPS vmonitoring entiities from upsmon running on
|
||||||
# if you change base_topic of Zigbee2mqtt, change state_topic accordingly
|
# popeye for UPS TERRA
|
||||||
state_topic: zigbee2mqtt/bridge/response/networkmap
|
# seneca for UPS TITAN
|
||||||
|
# tazmania for UPS TAZMANIA
|
||||||
|
# UPS Battery Volts
|
||||||
|
- name: ups_terra_status
|
||||||
|
unique_id: sensor.ups_terra_status
|
||||||
|
state_topic: monitoring/ups/status
|
||||||
value_template: >-
|
value_template: >-
|
||||||
{{ now().strftime('%Y-%m-%d %H:%M:%S') }}
|
{% if value_json[1].upsname == 'TERRA' %}
|
||||||
# again, if you change base_topic of Zigbee2mqtt, change json_attributes_topic accordingly
|
{{ value_json[0].status }}
|
||||||
json_attributes_topic: zigbee2mqtt/bridge/response/networkmap
|
{% else %}
|
||||||
json_attributes_template: "{{ value_json.data.value | tojson }}"
|
{{ states('sensor.ups_terra_status') }}
|
||||||
|
{% endif %}
|
||||||
|
- name: ups_tazmania_status
|
||||||
|
unique_id: sensor.ups_tazmania_status
|
||||||
|
state_topic: monitoring/ups/status
|
||||||
|
value_template: >-
|
||||||
|
{% if value_json[1].upsname == 'TAZMANIA' %}
|
||||||
|
{{ value_json[0].status }}
|
||||||
|
{% else %}
|
||||||
|
{{ states('sensor.ups_tazmania_status') }}
|
||||||
|
{% endif %}
|
||||||
|
- name: ups_titan_status
|
||||||
|
unique_id: sensor.ups_titan_status
|
||||||
|
state_topic: monitoring/ups/status
|
||||||
|
value_template: >-
|
||||||
|
{% if value_json[1].upsname == 'TITAN' %}
|
||||||
|
{{ value_json[0].status }}
|
||||||
|
{% else %}
|
||||||
|
{{ states('sensor.ups_titan_status') }}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
# UPS Battery Charge
|
||||||
|
- name: ups_terra_charge
|
||||||
|
unique_id: sensor.ups_terra_charge
|
||||||
|
state_topic: monitoring/ups/status
|
||||||
|
value_template: >-
|
||||||
|
{% if value_json[1].upsname == 'TERRA' %}
|
||||||
|
{{ value_json[0].bcharge | int }}
|
||||||
|
{% else %}
|
||||||
|
{{ states('sensor.ups_terra_charge') | int }}
|
||||||
|
{% endif %}
|
||||||
|
- name: ups_tazmania_charge
|
||||||
|
unique_id: sensor.ups_tazmania_charge
|
||||||
|
state_topic: monitoring/ups/status
|
||||||
|
value_template: >-
|
||||||
|
{% if value_json[1].upsname == 'TAZMANIA' %}
|
||||||
|
{{ value_json[0].bcharge | int }}
|
||||||
|
{% else %}
|
||||||
|
{{ states('sensor.ups_tazmania_charge') | int }}
|
||||||
|
{% endif %}
|
||||||
|
- name: ups_titan_charge
|
||||||
|
unique_id: sensor.ups_titan_charge
|
||||||
|
state_topic: monitoring/ups/status
|
||||||
|
value_template: >-
|
||||||
|
{% if value_json[1].upsname == 'TITAN' %}
|
||||||
|
{{ value_json[0].bcharge | int }}
|
||||||
|
{% else %}
|
||||||
|
{{ states('sensor.ups_titan_charge') | int }}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
# UPS Time left before Exhaustion
|
||||||
|
- name: ups_terra_timeleft
|
||||||
|
unique_id: sensor.ups_terra_timeleft
|
||||||
|
state_topic: monitoring/ups/status
|
||||||
|
unit_of_measurement: "Min."
|
||||||
|
value_template: >-
|
||||||
|
{% if value_json[1].upsname == 'TERRA' %}
|
||||||
|
{{ (value_json[0].timeleft | int) }}
|
||||||
|
{% else %}
|
||||||
|
{{ states('sensor.ups_terra_timeleft') }}
|
||||||
|
{% endif %}
|
||||||
|
- name: ups_tazmania_timeleft
|
||||||
|
unique_id: sensor.ups_tazmania_timeleft
|
||||||
|
state_topic: monitoring/ups/status
|
||||||
|
unit_of_measurement: "Min."
|
||||||
|
value_template: >-
|
||||||
|
{% if value_json[1].upsname == 'TAZMANIA' %}
|
||||||
|
{{ value_json[0].timeleft | int }}
|
||||||
|
{% else %}
|
||||||
|
{{ states('sensor.ups_tazmania_timeleft') }}
|
||||||
|
{% endif %}
|
||||||
|
- name: ups_titan_timeleft
|
||||||
|
unique_id: sensor.ups_titan_timeleft
|
||||||
|
state_topic: monitoring/ups/status
|
||||||
|
unit_of_measurement: "Min."
|
||||||
|
value_template: >-
|
||||||
|
{% if value_json[1].upsname == 'TITAN' %}
|
||||||
|
{{ value_json[0].timeleft | int }}
|
||||||
|
{% else %}
|
||||||
|
{{ states('sensor.ups_titan_timeleft') }}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
# UPS Battery Volts
|
||||||
|
- name: ups_terra_battv
|
||||||
|
unique_id: sensor.ups_terra_battv
|
||||||
|
state_topic: monitoring/ups/status
|
||||||
|
unit_of_measurement: "V"
|
||||||
|
value_template: >-
|
||||||
|
{% if value_json[1].upsname == 'TERRA' %}
|
||||||
|
{{ value_json[0].battv | float }}
|
||||||
|
{% else %}
|
||||||
|
{{ states('sensor.ups_terra_battv') }}
|
||||||
|
{% endif %}
|
||||||
|
- name: ups_tazmania_battv
|
||||||
|
unique_id: sensor.ups_tazmania_battv
|
||||||
|
state_topic: monitoring/ups/status
|
||||||
|
unit_of_measurement: "V"
|
||||||
|
value_template: >-
|
||||||
|
{% if value_json[1].upsname == 'TAZMANIA' %}
|
||||||
|
{{ value_json[0].battv | float }}
|
||||||
|
{% else %}
|
||||||
|
{{ states('sensor.ups_tazmania_battv') }}
|
||||||
|
{% endif %}
|
||||||
|
- name: ups_titan_battv
|
||||||
|
unique_id: sensor.ups_titan_battv
|
||||||
|
state_topic: monitoring/ups/status
|
||||||
|
unit_of_measurement: "V"
|
||||||
|
value_template: >-
|
||||||
|
{% if value_json[1].upsname == 'TITAN' %}
|
||||||
|
{{ value_json[0].battv | float }}
|
||||||
|
{% else %}
|
||||||
|
{{ states('sensor.ups_titan_battv') }}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
# UPS load percentage
|
||||||
|
- name: ups_terra_loadpct
|
||||||
|
unique_id: sensor.ups_terra_loadpct
|
||||||
|
state_topic: monitoring/ups/status
|
||||||
|
value_template: >-
|
||||||
|
{% if value_json[1].upsname == 'TERRA' %}
|
||||||
|
{{ value_json[0].loadpct | int }}
|
||||||
|
{% else %}
|
||||||
|
{{ states('sensor.ups_terra_loadpct') }}
|
||||||
|
{% endif %}
|
||||||
|
- name: ups_tazmania_loadpct
|
||||||
|
unique_id: sensor.ups_tazmania_loadpct
|
||||||
|
state_topic: monitoring/ups/status
|
||||||
|
value_template: >-
|
||||||
|
{% if value_json[1].upsname == 'TAZMANIA' %}
|
||||||
|
{{ value_json[0].loadpct | int }}
|
||||||
|
{% else %}
|
||||||
|
{{ states('sensor.ups_tazmania_loadpct') }}
|
||||||
|
{% endif %}
|
||||||
|
- name: ups_titan_loadpct
|
||||||
|
unique_id: sensor.ups_titan_loadpct
|
||||||
|
state_topic: monitoring/ups/status
|
||||||
|
value_template: >-
|
||||||
|
{% if value_json[1].upsname == 'TITAN' %}
|
||||||
|
{{ value_json[0].loadpct | int }}
|
||||||
|
{% else %}
|
||||||
|
{{ states('sensor.ups_titan_loadpct') }}
|
||||||
|
{% endif %}
|
||||||
|
|||||||
32
scenes.yaml
32
scenes.yaml
@@ -0,0 +1,32 @@
|
|||||||
|
- id: '1765640519696'
|
||||||
|
name: Luminarie
|
||||||
|
entities:
|
||||||
|
light.presa_smart_1:
|
||||||
|
supported_color_modes:
|
||||||
|
- onoff
|
||||||
|
color_mode: onoff
|
||||||
|
friendly_name: Presa-Smart-1
|
||||||
|
supported_features: 0
|
||||||
|
state: 'on'
|
||||||
|
light.presa_smart_2:
|
||||||
|
supported_color_modes:
|
||||||
|
- onoff
|
||||||
|
color_mode: onoff
|
||||||
|
friendly_name: Presa-Smart-2
|
||||||
|
supported_features: 0
|
||||||
|
state: 'on'
|
||||||
|
light.presa_smart_11:
|
||||||
|
supported_color_modes:
|
||||||
|
- onoff
|
||||||
|
color_mode: onoff
|
||||||
|
friendly_name: Presa-Smart-11
|
||||||
|
supported_features: 0
|
||||||
|
state: 'on'
|
||||||
|
icon: mdi:ceiling-fan-light
|
||||||
|
metadata:
|
||||||
|
light.presa_smart_1:
|
||||||
|
entity_only: true
|
||||||
|
light.presa_smart_2:
|
||||||
|
entity_only: true
|
||||||
|
light.presa_smart_11:
|
||||||
|
entity_only: true
|
||||||
|
|||||||
@@ -1,4 +1,8 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
|
# IMPORTANT NOTE: all sensors here having templates have been migrated/fixed to HERE from other as per Deprecation of platform: Template
|
||||||
|
|
||||||
# Storage for Bubble Card Modules
|
# Storage for Bubble Card Modules
|
||||||
- trigger:
|
- trigger:
|
||||||
- trigger: event
|
- trigger: event
|
||||||
|
|||||||
Reference in New Issue
Block a user