265 lines
7.5 KiB
YAML
265 lines
7.5 KiB
YAML
- id: "1729875991469"
|
|
alias: BagnoOvest-save-energy
|
|
description: Thermostat will close upon window open
|
|
use_blueprint:
|
|
path: homeassistant/heat_save.yaml
|
|
input:
|
|
window_sensor: binary_sensor.bagnoovest_finestra_contact
|
|
climate_target: climate.bagnoovest_termosifone
|
|
- id: "1729887529602"
|
|
alias: BagnoPT-save-energy
|
|
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"
|
|
alias: SoggiornoPT-save-energy
|
|
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: "1731410549094"
|
|
alias: EVcharge_front_charging
|
|
description: ""
|
|
triggers:
|
|
- trigger: state
|
|
entity_id:
|
|
- input_boolean.evcharge_front_start
|
|
for:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 10
|
|
conditions: []
|
|
actions:
|
|
- wait_for_trigger:
|
|
- trigger: time
|
|
at: input_datetime.evcharge_good_time_start
|
|
- type: turn_on
|
|
device_id: 62352ecf274ff68e3ddfbc979406d49d
|
|
entity_id: c1f2a5e1b3bc7807a8b291b6fd6dbb31
|
|
domain: switch
|
|
- wait_for_trigger:
|
|
- trigger: time
|
|
at: input_datetime.evcharge_good_time_end
|
|
- type: turn_off
|
|
device_id: 62352ecf274ff68e3ddfbc979406d49d
|
|
entity_id: c1f2a5e1b3bc7807a8b291b6fd6dbb31
|
|
domain: switch
|
|
mode: single
|
|
- id: "1731705145404"
|
|
alias: Luce Automatica Scala Mansarda
|
|
description: ""
|
|
use_blueprint:
|
|
path: homeassistant/motion_light_dual_lux.yaml
|
|
input:
|
|
motion_entity_down: binary_sensor.presenza_bassa_scala_mansarda_occupancy
|
|
motion_entity_up: binary_sensor.presenza_alta_scala_mansarda_occupancy
|
|
light_target:
|
|
device_id: 702137a6f2c17b89fdb0598f7003743c
|
|
no_motion_wait: 10
|
|
- id: "1731705400752"
|
|
alias: Luce Automatica Scala Taverna
|
|
description: ""
|
|
use_blueprint:
|
|
path: homeassistant/motion_light_dual_lux.yaml
|
|
input:
|
|
motion_entity_down: binary_sensor.presenza_bassa_scala_taverna_occupancy
|
|
motion_entity_up: binary_sensor.presenza_alta_scala_taverna_occupancy
|
|
light_target:
|
|
device_id: 226779fb30bd68c5a2784ccd762d90e9
|
|
sun_condition: false
|
|
- id: "1731953745814"
|
|
alias: EVcharge-front-program
|
|
description: ""
|
|
triggers:
|
|
- trigger: state
|
|
entity_id:
|
|
- input_boolean.evcharge_front_start
|
|
from: "off"
|
|
to: "on"
|
|
conditions:
|
|
- condition: time
|
|
after: input_datetime.evcharge_good_time_start
|
|
before: input_datetime.evcharge_good_time_end
|
|
weekday:
|
|
- sun
|
|
- mon
|
|
- tue
|
|
- wed
|
|
- thu
|
|
- fri
|
|
- sat
|
|
actions:
|
|
- action: switch.turn_on
|
|
metadata: {}
|
|
data: {}
|
|
target:
|
|
device_id: 62352ecf274ff68e3ddfbc979406d49d
|
|
- wait_template:
|
|
"{{ states('sensor.presa_smart_1_power') < states('input_number.evcharge_no_charge_threshold')
|
|
}}"
|
|
continue_on_timeout: true
|
|
timeout: 00:30:00
|
|
- action: switch.turn_off
|
|
metadata: {}
|
|
data: {}
|
|
target:
|
|
device_id: 62352ecf274ff68e3ddfbc979406d49d
|
|
mode: single
|
|
- id: "1732739522749"
|
|
alias: Luce Automatica Taverna Garage
|
|
description: ""
|
|
use_blueprint:
|
|
path: homeassistant/motion_light_tris_lux.yaml
|
|
input:
|
|
motion_entity_uno: binary_sensor.presenza_bassa_scala_taverna_occupancy
|
|
motion_entity_due: binary_sensor.presenza_taverna_garage_occupancy
|
|
motion_entity_tre: binary_sensor.presenza_taverna_lavanderia_occupancy
|
|
light_target:
|
|
entity_id: light.taverna_garage
|
|
sun_condition: false
|
|
dont_disturb_condition: false
|
|
- id: "1733907515800"
|
|
alias: EVcharge-front-temp-automation
|
|
description:
|
|
Temporary Automation of EVcharge front from 23:01 to 9:00 all days
|
|
the same
|
|
triggers:
|
|
- trigger: time
|
|
at: "23:04:00"
|
|
id: EVcharge-front-on
|
|
- trigger: time
|
|
at: 09:00:00
|
|
id: EVcharge-front-off
|
|
conditions: []
|
|
actions:
|
|
- if:
|
|
- condition: trigger
|
|
id:
|
|
- EVcharge-front-on
|
|
then:
|
|
- type: turn_on
|
|
device_id: b69c1ca977ec6590e58689a8ab48cf3c
|
|
entity_id: 62f4895f11ca37d023aad1fddee7c0a0
|
|
domain: switch
|
|
else:
|
|
- type: turn_off
|
|
device_id: b69c1ca977ec6590e58689a8ab48cf3c
|
|
entity_id: 62f4895f11ca37d023aad1fddee7c0a0
|
|
domain: switch
|
|
mode: single
|
|
- id: "1735298237446"
|
|
alias: P1-confort-light
|
|
description: ""
|
|
triggers:
|
|
- trigger: time
|
|
at: input_datetime.dont_disturb_nighttime_to
|
|
- trigger: sun
|
|
event: sunset
|
|
offset: 00:30:00
|
|
id: p1-confort-light-on
|
|
- trigger: time
|
|
at: "23:00:00"
|
|
id: p1-confort-light-off
|
|
conditions: []
|
|
actions:
|
|
- condition: trigger
|
|
id:
|
|
- p1-confort-light-on
|
|
- type: turn_on
|
|
device_id: e0397b54f1c2d1514be403e2996ca368
|
|
entity_id: ef6706dbe425caf09693c084182ec228
|
|
domain: light
|
|
brightness_pct: 100
|
|
- condition: trigger
|
|
id:
|
|
- p1-confort-light-off
|
|
- type: turn_off
|
|
device_id: e0397b54f1c2d1514be403e2996ca368
|
|
entity_id: ef6706dbe425caf09693c084182ec228
|
|
domain: light
|
|
mode: single
|
|
- id: "1736805701473"
|
|
alias: P1confort-light
|
|
description: ""
|
|
use_blueprint:
|
|
path: homeassistant/confort_light.yaml
|
|
input:
|
|
light_target:
|
|
device_id: e0397b54f1c2d1514be403e2996ca368
|
|
- id: "1737850967154"
|
|
alias: test-new-motion
|
|
description: ""
|
|
use_blueprint:
|
|
path: homeassistant/motion-light-new.yaml
|
|
input:
|
|
motion_entity1: binary_sensor.presenza_alta_scala_mansarda_occupancy
|
|
motion_entity2: binary_sensor.presenza_bassa_scala_mansarda_occupancy
|
|
light_target:
|
|
entity_id: light.test_lamp1
|
|
- id: "1738142303265"
|
|
alias: test-pulsante1
|
|
description: ""
|
|
triggers:
|
|
|
|
- trigger: mqtt
|
|
topic: "zigbee2mqtt/Pulsante-01"
|
|
payload: "single"
|
|
value_template: "{{ value_json['action'] }}"
|
|
id: Pulsante1-single
|
|
- trigger: mqtt
|
|
topic: "zigbee2mqtt/Pulsante-01"
|
|
payload: "double"
|
|
value_template: "{{ value_json['action'] }}"
|
|
id: Pulsante1-double
|
|
# - domain: mqtt
|
|
# # device_id: 0b221729867cef10dcb428820c082f79
|
|
# type: action
|
|
# subtype: single
|
|
# trigger: device
|
|
# id: Pulsante1-single
|
|
# - domain: mqtt
|
|
# device_id: 0b221729867cef10dcb428820c082f79
|
|
# type: action
|
|
# subtype: double
|
|
# trigger: device
|
|
# id: Pulsante1-double
|
|
conditions: []
|
|
actions:
|
|
- choose:
|
|
- conditions:
|
|
- condition: trigger
|
|
id:
|
|
- Pulsante1-single
|
|
sequence:
|
|
- action: light.turn_on
|
|
metadata: {}
|
|
data:
|
|
rgb_color:
|
|
- 255
|
|
- 0
|
|
- 0
|
|
brightness_pct: 100
|
|
transition: 10
|
|
target:
|
|
device_id: "{{ device_id('light.test_lamp1')}}"
|
|
# device_id: "9f46c5b7c07f1495e0f4bf8d6f72a525"
|
|
- conditions:
|
|
- condition: trigger
|
|
id:
|
|
- Pulsante1-double
|
|
sequence:
|
|
- action: light.turn_off
|
|
metadata: {}
|
|
data:
|
|
transition: 10
|
|
target:
|
|
device_id: "{{ device_id('light.test_lamp1')}}"
|
|
mode: queued
|