Before new templates for comfort light e Luce Taverna Garage backups

This commit is contained in:
2025-01-13 21:32:19 +01:00
parent 8e77bd2fd4
commit cd4d3a101b
3 changed files with 111 additions and 11 deletions

View File

@@ -122,3 +122,62 @@
light_target:
entity_id: light.taverna_garage
sun_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

View File

@@ -41,6 +41,14 @@ blueprint:
default: on
selector:
boolean:
dont_disturb_condition:
name: dont_disturb_light_control
description: Controls if lamp brightness has to be reduced to not disturb
default: on
selector:
boolean:
no_motion_wait:
name: Wait time
description: Time to leave the light on after last motion is detected.
@@ -53,6 +61,7 @@ blueprint:
trigger_variables:
use_sun: !input sun_condition
# use_dont_disturb: !input dont_disturb_nighttime
triggers:
- trigger: state
@@ -100,11 +109,22 @@ actions:
id:
- motion-detected
then:
- action: light.turn_on
target: !input light_target
data:
brightness_pct: 100
color_temp_kelvin: 2700
- if:
- condition: template
# value_template: "{{ use_dont_disturb }}"
value_template: "{{ dont_disturb_nighttime }}"
then:
- action: light.turn_on
target: !input light_target
data:
brightness_pct: states('dont_disturb_light_brightness')
color_temp_kelvin: 2700
else:
- action: light.turn_on
target: !input light_target
data:
brightness_pct: 100
color_temp_kelvin: 2700
else:
- action: light.turn_off
@@ -120,15 +140,26 @@ actions:
id:
- motion-detected
then:
- action: light.turn_on
target: !input light_target
data:
brightness_pct: 100
color_temp_kelvin: 2700
- if:
- condition: template
value_template: "{{ use_dont_disturb }}"
then:
- action: light.turn_on
target: !input light_target
data:
brightness_pct: states('dont_disturb_light_brightness')
color_temp_kelvin: 2700
else:
- action: light.turn_on
target: !input light_target
data:
brightness_pct: 100
color_temp_kelvin: 2700
else:
- action: light.turn_off
target: !input light_target
data: {}
data:
transition: 10
mode: single

View File

@@ -29,6 +29,16 @@ logger:
# influxdb: !include influxdb_feed.yaml
# Disable Logginh of time and date change
logbook:
exclude:
entities:
- sensor.date_time
- sensor.time
- sensor.date
- sensor.date_time_iso
- sensor.date_time_utc
# Zigbee Network Map not Working
# mqtt:
# sensor: