Added motion detector and light to the mezzanine

This commit is contained in:
2026-05-09 13:34:24 +02:00
parent a344700f5e
commit df47eb8f3b
2 changed files with 29 additions and 0 deletions

View File

@@ -25,4 +25,6 @@ motion_tracker:
motion_sensors: binary_sensor.garage_motion
kitchen:
motion_sensors: binary_sensor.kitchen_motion
mezzanine:
motion_sensors: binary_sensor.mezzanine_motion

View File

@@ -0,0 +1,27 @@
light_mezzanine_01:
module: smartlight
class: SmartLight
entity: light.mezzanine_01
smart_conditions:
trigger_conditions: sensor.mezzanine_last_motion < 3
blocking_conditions: sensor.mezzanine_motion_light_level > 10 and not self
light_brightness_pct:
15: input_boolean.sleeping
35: binary_sensor.day_interval_night
100: True
light_mezzanine_02:
module: smartlight
class: SmartLight
entity: light.mezzanine_02
smart_conditions:
trigger_conditions: sensor.mezzanine_last_motion < 3
blocking_conditions: sensor.mezzanine_motion_light_level > 10 and not self
light_brightness_pct:
5: input_boolean.sleeping
25: binary_sensor.day_interval_night
100: True