27 lines
715 B
YAML
27 lines
715 B
YAML
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 |