Refactor living room light configurations and enhance blocking conditions for smart lights
This commit is contained in:
@@ -5,7 +5,9 @@ light_mezzanine_01:
|
||||
|
||||
smart_conditions:
|
||||
trigger_conditions: sensor.mezzanine_last_motion < 3
|
||||
blocking_conditions: sensor.mezzanine_motion_light_level > 10 and not self
|
||||
blocking_conditions:
|
||||
- sensor.mezzanine_motion_light_level > 10 and not self
|
||||
- light.living_room
|
||||
|
||||
light_brightness_pct:
|
||||
15: binary_sensor.is_everybody_sleeping
|
||||
@@ -19,7 +21,9 @@ light_mezzanine_02:
|
||||
|
||||
smart_conditions:
|
||||
trigger_conditions: sensor.mezzanine_last_motion < 3
|
||||
blocking_conditions: sensor.mezzanine_motion_light_level > 10 and not self
|
||||
blocking_conditions:
|
||||
- sensor.mezzanine_motion_light_level > 10 and not self
|
||||
- light.living_room
|
||||
|
||||
light_brightness_pct:
|
||||
5: binary_sensor.is_everybody_sleeping
|
||||
@@ -31,16 +35,29 @@ light_bookshelves:
|
||||
class: SmartLight
|
||||
entity: light.living_room_bookshelves
|
||||
|
||||
smart_conditions:
|
||||
trigger_conditions: binary_sensor.living_room_occupancy
|
||||
blocking_conditions:
|
||||
- sensor.mezzanine_motion_light_level > 10
|
||||
- binary_sensor.is_apple_tv_on and not binary_sensor.is_apple_tv_idle
|
||||
smart_conditions: sensor.living_room_ambiance_light >= 1
|
||||
|
||||
#light_brightness_pct:
|
||||
# 5: binary_sensor.is_everybody_sleeping
|
||||
# 25: binary_sensor.day_interval_night
|
||||
# 100: True
|
||||
light_brightness_pct:
|
||||
25: sensor.living_room_ambiance_light == 1
|
||||
100: True
|
||||
|
||||
light_tree:
|
||||
module: smartlight
|
||||
class: SmartLight
|
||||
entity: light.living_room_tree
|
||||
|
||||
smart_conditions: sensor.living_room_ambiance_light >= 2
|
||||
|
||||
light_brightness_pct: 35
|
||||
|
||||
light_art_deco:
|
||||
module: smartlight
|
||||
class: SmartLight
|
||||
entity: light.living_room_art_deco
|
||||
|
||||
smart_conditions: sensor.living_room_ambiance_light >= 2
|
||||
|
||||
light_brightness_pct: 35
|
||||
|
||||
light_living_room:
|
||||
module: smartlight
|
||||
|
||||
Reference in New Issue
Block a user