Add sleep sensor configurations and update conditions for light controls
This commit is contained in:
@@ -2,7 +2,7 @@ sleep_switch:
|
||||
module: smartswitch
|
||||
class: SmartSwitch
|
||||
|
||||
entity: input_boolean.sleeping
|
||||
entity: input_boolean.bedroom_sleeping
|
||||
|
||||
toggle_events:
|
||||
button_long_press_pierre:
|
||||
@@ -64,7 +64,7 @@ sonos_led:
|
||||
|
||||
entity: switch.bedroom_led
|
||||
|
||||
smart_conditions: not input_boolean.sleeping
|
||||
smart_conditions: not binary_sensor.is_bedroom_sleeping
|
||||
|
||||
light_bedroom_bedlight_pierre:
|
||||
module: smartlight
|
||||
@@ -152,7 +152,7 @@ bed_ledstrip:
|
||||
entity: light.bedroom_ledstripe
|
||||
|
||||
smart_conditions:
|
||||
trigger_conditions: (input_boolean.sleeping or binary_sensor.day_interval_night) and (binary_sensor.bedroom_motion_bed_pierre or binary_sensor.bedroom_motion_bed_maeva)
|
||||
trigger_conditions: (binary_sensor.is_bedroom_sleeping or binary_sensor.day_interval_night) and (binary_sensor.bedroom_motion_bed_pierre or binary_sensor.bedroom_motion_bed_maeva)
|
||||
blocking_conditions: switch.bedroom_light or light.bedroom_bedlight_pierre or light.bedroom_bedlight_maeva
|
||||
|
||||
on_events_with_transition:
|
||||
@@ -177,4 +177,4 @@ alarm_clock:
|
||||
inputdate_alarmclock_secondary: input_datetime.secondary_alarmclock
|
||||
input_text_wakeup_time: input_text.wakeup_time
|
||||
|
||||
sleeping_condition: input_boolean.sleeping
|
||||
sleeping_condition: binary_sensor.is_bedroom_sleeping
|
||||
Reference in New Issue
Block a user