Updates for added/changed motion sensors

This commit is contained in:
2024-01-13 20:04:51 -05:00
parent de1b925804
commit 5171f366d2
2 changed files with 51 additions and 1 deletions

View File

@ -84,6 +84,20 @@ input_number:
step: 1
unit_of_measurement: minutes
icon: mdi:timer
emma_bedroom_lights_off_delay:
name: Emma Bedroom Lights Off Delay
min: 0
max: 30
step: 1
unit_of_measurement: minutes
icon: mdi:timer
stairwell_lights_off_delay:
name: Stairwell Lights Off Delay
min: 0
max: 30
step: 1
unit_of_measurement: minutes
icon: mdi:timer
wakeup_lights_fade_day:
name: Wakeup Lights Fade Day
min: 0
@ -105,6 +119,34 @@ input_number:
step: 5
unit_of_measurement: lx
icon: mdi:sun-wireless
upstairs_bathroom_lux_threshold:
name: Upstairs Bathroom Lux Threshold
min: 0
max: 100
step: 5
unit_of_measurement: lx
icon: mdi:sun-wireless
emma_bedroom_lux_threshold:
name: Emma Bedroom Lux Threshold
min: 0
max: 100
step: 5
unit_of_measurement: lx
icon: mdi:sun-wireless
stairwell_lux_threshold:
name: Stairwell Lux Threshold
min: 0
max: 100
step: 5
unit_of_measurement: lx
icon: mdi:sun-wireless
living_room_lux_threshold:
name: Living Room Lux Threshold
min: 0
max: 100
step: 5
unit_of_measurement: lx
icon: mdi:sun-wireless
# Settings for adaptive adjustments
daytime_colortemp_front_porch:

View File

@ -208,7 +208,9 @@ template:
device_class: occupancy
state: >
{{ is_state('light.emma_bedroom_light','on') or
is_state('input_boolean.emma_sleeping','on') }}
is_state('input_boolean.emma_sleeping','on') or
is_state('binary_sensor.emma_bedroom_motion','on') or
is_state('timer.emma_bedroom_motion','active') }}
delay_off: "00:00:15"
- name: "Living Room Occupied"
unique_id: 25623e3d-d74f-471e-8c2d-abce16646282
@ -222,6 +224,12 @@ template:
state: >
{{ is_state('binary_sensor.downstairs_bathroom_motion','on') or is_state('timer.downstairs_bathroom_lights_timer','active') }}
delay_off: "00:00:15"
- name: "Stairwell Occupied"
unique_id: ab80b307-820e-4f82-86f2-c08f97245107
device_class: occupancy
state: >
{{ is_state('binary_sensor.stairwell_bottom_motion','on') or
is_state('timer.stairwell_motion_timer','active') }}
- sensor:
- unique_id: people_at_home
name: People at Home