Taverna-Garage-light-automation
This commit is contained in:
@@ -1 +1 @@
|
||||
2024.11.2
|
||||
2025.1.2
|
||||
@@ -116,7 +116,7 @@
|
||||
use_blueprint:
|
||||
path: homeassistant/motion_light_tris_lux.yaml
|
||||
input:
|
||||
motion_entity_uno: binary_sensor.presenza_alta_scala_mansarda_occupancy
|
||||
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:
|
||||
|
||||
@@ -42,13 +42,15 @@ actions:
|
||||
target: !input light_target
|
||||
data:
|
||||
brightness_pct: states('dont_disturb_light_brightness')
|
||||
color_temp_kelvin: 2700
|
||||
color_temp: 523
|
||||
# color_temp_kelvin: 2700
|
||||
else:
|
||||
- action: light.turn_on
|
||||
target: !input light_target
|
||||
data:
|
||||
brightness_pct: 100
|
||||
color_temp_kelvin: 2700
|
||||
color_temp: 523
|
||||
# color_temp_kelvin: 2700
|
||||
|
||||
- conditions:
|
||||
- condition: trigger
|
||||
|
||||
@@ -118,13 +118,13 @@ actions:
|
||||
target: !input light_target
|
||||
data:
|
||||
brightness_pct: states('dont_disturb_light_brightness')
|
||||
color_temp_kelvin: 2700
|
||||
color_temp_kelvin: 2500
|
||||
else:
|
||||
- action: light.turn_on
|
||||
target: !input light_target
|
||||
data:
|
||||
brightness_pct: 100
|
||||
color_temp_kelvin: 2700
|
||||
color_temp_kelvin: 2500
|
||||
|
||||
else:
|
||||
- action: light.turn_off
|
||||
@@ -148,13 +148,13 @@ actions:
|
||||
target: !input light_target
|
||||
data:
|
||||
brightness_pct: states('dont_disturb_light_brightness')
|
||||
color_temp_kelvin: 2700
|
||||
color_temp_kelvin: 2500
|
||||
else:
|
||||
- action: light.turn_on
|
||||
target: !input light_target
|
||||
data:
|
||||
brightness_pct: 100
|
||||
color_temp_kelvin: 2700
|
||||
color_temp_kelvin: 2500
|
||||
|
||||
else:
|
||||
- action: light.turn_off
|
||||
|
||||
Reference in New Issue
Block a user