Add sleep sensor configurations and update conditions for light controls
This commit is contained in:
@@ -8,7 +8,7 @@ light_corridor:
|
||||
blocking_conditions: sensor.corridor_motion_light_level > 10 and not self
|
||||
|
||||
light_brightness_pct:
|
||||
1: input_boolean.sleeping
|
||||
1: binary_sensor.is_everybody_sleeping
|
||||
25: binary_sensor.day_interval_night
|
||||
100: True
|
||||
|
||||
@@ -22,7 +22,7 @@ light_hallway:
|
||||
blocking_conditions: sensor.hallway_motion_light_level > 10 and not self
|
||||
|
||||
light_brightness_pct:
|
||||
1: input_boolean.sleeping
|
||||
1: binary_sensor.is_everybody_sleeping
|
||||
25: binary_sensor.day_interval_night
|
||||
100: True
|
||||
|
||||
@@ -37,7 +37,7 @@ light_restroom:
|
||||
blocking_conditions: sensor.restroom_motion_light_level > 10 and not self
|
||||
|
||||
light_brightness_pct:
|
||||
1: input_boolean.sleeping
|
||||
1: binary_sensor.is_everybody_sleeping
|
||||
25: binary_sensor.day_interval_night
|
||||
100: True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user