diff --git a/packages/presence.yaml b/packages/presence.yaml index 224ae8b..54748fd 100644 --- a/packages/presence.yaml +++ b/packages/presence.yaml @@ -218,18 +218,21 @@ template: is_state('light.master_bedroom_closet','on') or is_state('input_boolean.master_bedroom_sleeping','on') or not is_state('media_player.master_bedroom_firetv','off') }} + delay_off: "00:00:15" - name: "Kallen Bedroom Occupied" unique_id: d3fdbaee-48bd-44df-820e-6cbfd3d24c11 device_class: occupancy state: > {{ is_state('light.kallen_bedroom_lights','on') or is_state('input_boolean.kallen_sleeping','on') }} + delay_off: "00:00:15" - name: "Emma Bedroom Occupied" unique_id: d775db9a-187d-4c4b-a49d-f0e5a1e6ce3b device_class: occupancy state: > {{ is_state('light.emma_bedroom_light','on') or is_state('input_boolean.emma_sleeping','on') }} + delay_off: "00:00:15" - name: "Living Room Occupied" unique_id: 25623e3d-d74f-471e-8c2d-abce16646282 device_class: occupancy @@ -240,7 +243,8 @@ template: unique_id: fad33281-1c1a-4362-93e6-398334358027 device_class: occupancy state: > - {{ is_state('timer.downstairs_bathroom_lights_timer','active') or is_state('binary_sensor.downstairs_bathroom_motion','on') }} + {{ is_state('binary_sensor.downstairs_bathroom_motion','on') or is_state('timer.downstairs_bathroom_lights_timer','active') }} + delay_off: "00:00:15" - sensor: - unique_id: people_at_home name: People at Home