From 85fb207ca0261915c506e49eb90cb09a56b48dc3 Mon Sep 17 00:00:00 2001 From: Pierre Date: Sun, 21 Jun 2026 09:16:04 +0200 Subject: [PATCH] fix a missing sensor error on restart --- apps/global/presence.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/global/presence.yaml b/apps/global/presence.yaml index 0966355..cfdb957 100644 --- a/apps/global/presence.yaml +++ b/apps/global/presence.yaml @@ -33,6 +33,9 @@ occupancy_sensors: class: VirtualSensorsApp priority: 8 # default priority app is 50, since most of them require sensors created by virtual sensors, it's important that virtual_sensors start first + default_values: + binary_sensor.someone_home: off + sensors: binary_sensor.living_room_occupancy: trigger_conditions: sensor.living_room_last_motion <= 5