From 30965c2a8af2695b212daba3c2776bd8da043efa Mon Sep 17 00:00:00 2001 From: Pierre Date: Thu, 9 Jul 2026 23:11:00 +0200 Subject: [PATCH] Add motion sensors for desk and porche --- apps/global/presence.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/apps/global/presence.yaml b/apps/global/presence.yaml index cfdb957..437a3c3 100644 --- a/apps/global/presence.yaml +++ b/apps/global/presence.yaml @@ -13,6 +13,11 @@ motion_tracker: motion_sensors: binary_sensor.hallway_motion restroom: motion_sensors: binary_sensor.restroom_motion + porche: + motion_sensors: binary_sensor.porche_motion + desk: + update_on_both_front: true + motion_sensors: binary_sensor.desk_presence_presence garage: door_generate_motion: true motion_sensors: @@ -52,5 +57,6 @@ occupancy_sensors: retain_time: 5 * 60 conditions: trigger_conditions: - - binary_sensor.alienware_r10 - - sensor.macbook_m3_pro_de_pierre_frontmost_app != 'loginwindow' and sensor.macbook_m3_pro_de_pierre_displays == 2 + - sensor.desk_last_motion <= 5 + #- binary_sensor.alienware_r10 + #- sensor.macbook_m3_pro_de_pierre_frontmost_app != 'loginwindow' and sensor.macbook_m3_pro_de_pierre_displays == 2