Added motion detector and light to the mezzanine
This commit is contained in:
@@ -25,4 +25,6 @@ motion_tracker:
|
|||||||
motion_sensors: binary_sensor.garage_motion
|
motion_sensors: binary_sensor.garage_motion
|
||||||
kitchen:
|
kitchen:
|
||||||
motion_sensors: binary_sensor.kitchen_motion
|
motion_sensors: binary_sensor.kitchen_motion
|
||||||
|
mezzanine:
|
||||||
|
motion_sensors: binary_sensor.mezzanine_motion
|
||||||
|
|
||||||
|
|||||||
27
apps/rooms/living_room.yaml
Normal file
27
apps/rooms/living_room.yaml
Normal 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
|
||||||
Reference in New Issue
Block a user