Poer-load-high created and in testing

This commit is contained in:
2025-02-13 12:04:06 +01:00
parent 55d1805f97
commit 8aed71dc2f
2 changed files with 77 additions and 34 deletions

View File

@@ -1,4 +1,4 @@
- id: "1729875991469"
- id: '1729875991469'
alias: BagnoOvest-save-energy
description: Thermostat will close upon window open
use_blueprint:
@@ -6,27 +6,27 @@
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: "1731705145404"
- id: '1731705145404'
alias: Luce Automatica Scala Mansarda
description: ""
description: ''
use_blueprint:
path: homeassistant/motion_light_dual_ng.yaml
input:
@@ -34,9 +34,9 @@
motion_entity2: binary_sensor.presenza_bassa_scala_mansarda_occupancy
light_target:
device_id: 702137a6f2c17b89fdb0598f7003743c
- id: "1731705400752"
- id: '1731705400752'
alias: Luce Automatica Scala Taverna
description: ""
description: ''
use_blueprint:
path: homeassistant/motion_light_dual_ng.yaml
input:
@@ -46,9 +46,9 @@
device_id: 226779fb30bd68c5a2784ccd762d90e9
use_sun: false
dont_disturb: false
- id: "1732739522749"
- id: '1732739522749'
alias: Luce Automatica Taverna Garage
description: ""
description: ''
use_blueprint:
path: homeassistant/motion_light_trix_ng.yaml
input:
@@ -60,17 +60,17 @@
use_sun: false
dont_disturb: false
no_motion_wait: 40
- id: "1736805701473"
- id: '1736805701473'
alias: P1confort-light
description: ""
description: ''
use_blueprint:
path: homeassistant/confort_light.yaml
input:
light_target:
device_id: e0397b54f1c2d1514be403e2996ca368
- id: "1738366774549"
- id: '1738366774549'
alias: Test-motion-light-ng
description: ""
description: ''
use_blueprint:
path: homeassistant/motion_light_dual_ng.yaml
input:
@@ -80,32 +80,18 @@
device_id: 9f46c5b7c07f1495e0f4bf8d6f72a525
no_motion_wait: 0
dont_disturb: false
- 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: "1738952270274"
alias: Test-EVcharge-process
description: ""
use_blueprint:
path: homeassistant/evcharge-process.yaml
input:
evcharge_entity1: switch.evcharge_front
evcharge_entity1_power: sensor.evcharge_front_power
evcharge_entity2: switch.evcharge_back
evcharge_entity2_power: sensor.evcharge_back_power
use_entity1: input_boolean.evcharge_front_request
use_entity2: input_boolean.evcharge_back_request
start_button: input_button.evcharge_start
- id: "1739185900251"
- id: '1739185900251'
alias: EVcharge-process
description:
"Charge sequentially via both front and back plugs depending on EVcharge
request flags "
description: 'Charge sequentially via both front and back plugs depending on EVcharge
request flags '
use_blueprint:
path: homeassistant/evcharge-process.yaml
input:
@@ -116,3 +102,8 @@
use_entity1: input_boolean.evcharge_front_request
use_entity2: input_boolean.evcharge_back_request
start_button: input_button.evcharge_start
- id: '1739393696392'
alias: Power-load-high
description: ''
use_blueprint:
path: homeassistant/power-load-high.yaml

View File

@@ -0,0 +1,52 @@
blueprint:
name: Power-load-high
description: Send alert in case of High Power Load
domain: automation
author: Tiziano Trabattoni
# input:
# window_sensor:
# name: Window Status
# description: Identifies the Window Sensor Device for Opened Status
# selector:
# entity:
# filter:
# - device_class: door
# domain: binary_sensor
variables:
recipient_list:
- notify.mobile_app_tiziano_iphone15pro
# - notify.mobile_app_emanuele_s24
triggers:
- trigger: numeric_state
entity_id: sensor.pw_load_power
for:
hours: 0
minutes: 0
seconds: 2
value_template: "{{ ( ( (state.state | float ) * 1000) | int ) }}"
above: input_number.power_site_limit
id: overpower
# - trigger: state
# entity_id: input_number.power_site_limit
conditions: []
actions:
- if:
condition: trigger # trigger
# value_template: "{{ true }}"
id: overpower
then:
sequence:
repeat:
for_each: "{{ recipient_list }}"
sequence:
- action: "{{ repeat.item }}"
metadata: {}
data:
title: CARICO ECCESSIVO - SPEGNERE QUALCOSA
message: >-
"Scollegare qualcosa {{ ( ( (states('sensor.pw_load_power') | float) * 1000 ) | int ) }} W."
mode: single