Before new templates for comfort light e Luce Taverna Garage backups
This commit is contained in:
@@ -122,3 +122,62 @@
|
|||||||
light_target:
|
light_target:
|
||||||
entity_id: light.taverna_garage
|
entity_id: light.taverna_garage
|
||||||
sun_condition: false
|
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
|
||||||
|
|||||||
@@ -41,6 +41,14 @@ blueprint:
|
|||||||
default: on
|
default: on
|
||||||
selector:
|
selector:
|
||||||
boolean:
|
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:
|
no_motion_wait:
|
||||||
name: Wait time
|
name: Wait time
|
||||||
description: Time to leave the light on after last motion is detected.
|
description: Time to leave the light on after last motion is detected.
|
||||||
@@ -53,6 +61,7 @@ blueprint:
|
|||||||
|
|
||||||
trigger_variables:
|
trigger_variables:
|
||||||
use_sun: !input sun_condition
|
use_sun: !input sun_condition
|
||||||
|
# use_dont_disturb: !input dont_disturb_nighttime
|
||||||
|
|
||||||
triggers:
|
triggers:
|
||||||
- trigger: state
|
- trigger: state
|
||||||
@@ -100,6 +109,17 @@ actions:
|
|||||||
id:
|
id:
|
||||||
- motion-detected
|
- motion-detected
|
||||||
then:
|
then:
|
||||||
|
- 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
|
- action: light.turn_on
|
||||||
target: !input light_target
|
target: !input light_target
|
||||||
data:
|
data:
|
||||||
@@ -120,6 +140,16 @@ actions:
|
|||||||
id:
|
id:
|
||||||
- motion-detected
|
- motion-detected
|
||||||
then:
|
then:
|
||||||
|
- 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
|
- action: light.turn_on
|
||||||
target: !input light_target
|
target: !input light_target
|
||||||
data:
|
data:
|
||||||
@@ -129,6 +159,7 @@ actions:
|
|||||||
else:
|
else:
|
||||||
- action: light.turn_off
|
- action: light.turn_off
|
||||||
target: !input light_target
|
target: !input light_target
|
||||||
data: {}
|
data:
|
||||||
|
transition: 10
|
||||||
|
|
||||||
mode: single
|
mode: single
|
||||||
|
|||||||
@@ -29,6 +29,16 @@ logger:
|
|||||||
|
|
||||||
# influxdb: !include influxdb_feed.yaml
|
# 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
|
# Zigbee Network Map not Working
|
||||||
# mqtt:
|
# mqtt:
|
||||||
# sensor:
|
# sensor:
|
||||||
|
|||||||
Reference in New Issue
Block a user