Added motion detector and light to the mezzanine
This commit is contained in:
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