From d0f92b265de7ed840440d61a1ba646f9e13a96d4 Mon Sep 17 00:00:00 2001 From: Brandon Harvey Date: Wed, 4 Mar 2026 12:51:31 -0600 Subject: [PATCH] Add general Radar Zone Occupancy sensor Adds a consolidated binary sensor that aggregates zone 1, 2, and 3 occupancy into a single sensor for simpler automations. --- Integrations/ESPHome/Core.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Integrations/ESPHome/Core.yaml b/Integrations/ESPHome/Core.yaml index 3b66584..90472fb 100644 --- a/Integrations/ESPHome/Core.yaml +++ b/Integrations/ESPHome/Core.yaml @@ -300,8 +300,18 @@ binary_sensor: } else { return false; } + - platform: template + name: "Radar Zone Occupancy" + id: "radar_zone_occupancy" + device_class: occupancy + icon: mdi:motion-sensor + lambda: |- + bool zone1 = id(radar_zone_1_occupancy).state; + bool zone2 = id(radar_zone_2_occupancy).state; + bool zone3 = id(radar_zone_3_occupancy).state; + return zone1 || zone2 || zone3; - platform: gpio - pin: + pin: number: GPIO9 inverted: true ignore_strapping_warning: true