Releases: c-st/auto_areas
v2.9.3 — Presence Timeout & Smarter Reloads
What's new
⏱️ Configurable Presence Timeout
Each area now supports an optional presence timeout (in seconds). When set, presence clears only after the configured delay with no sensor activity — preventing lights from turning off when you sit still.
- Immediate on: Presence triggers instantly when any sensor fires
- Delayed off: Timer starts when all sensors go off
- Timer resets: Any new activity cancels and restarts the timer
- Default: 0 (disabled — behaviour identical to before)
Configure in the area's options flow: Presence timeout (0–3600s)
⚡ Smarter Registry Reloads
- Debounced reloads (200ms): Multiple rapid registry events (e.g. HA startup) now collapse into a single reload instead of triggering a storm of sequential reloads
- Skip unrelated removals: Entity removal events are now filtered — only reloads if the removed entity actually belonged to the area
Full changelog
v2.9.2 — Illuminance manual override fix
What's new
🔆 Illuminance: respect manual light off
Fixed a bug where auto_areas would turn lights back on after the user manually turned them off, when the illuminance threshold is configured.
Before: Auto_areas turns lights on (illuminance drops) → user turns lights off → another illuminance event → lights turn back on ❌
After: Once auto_areas has turned lights on due to low illuminance and the user manually turns them off — they stay off. The override resets when presence clears or lights are turned on again. ✅
See #129 for full details.
Full changelog
v2.9.1 — Area Open Sensor
What's new
🚪 Area Open Sensor
Each area now gets a binary_sensor.area_open_<area> entity that aggregates all contact sensors in the area.
Supported device classes:
- 🚪
door— door contact sensors - 🪟
window— window contact sensors - 📭
opening— generic opening sensors - 🏠
garage_door— garage door sensors - 🔒
lock— lock sensors (unlocked = open)
Behavior:
- OR logic — any sensor open → aggregate
on - Fail-safe —
offwhen no sensors present or all unavailable - Icons:
mdi:door-open(open) /mdi:door-closed(all closed)
Resolves feature request #212.
Full changelog
v2.9.0 — Environmental Safety Sensor
What's new
🛡️ Environmental Safety Sensor
Each area now gets a binary_sensor.area_safety_<area> entity that aggregates all safety-related sensors in the area.
Supported device classes:
- 🔥
smoke— smoke detectors - ☁️
carbon_monoxide— CO detectors - 💨
gas— gas leak detectors - 💧
moisture— water/leak detectors - 🌡️
heat— heat sensors ⚠️ safety— generic safety sensors
Behavior:
- OR logic — any sensor
on→ aggregate ison - Fail-safe —
offwhen no sensors present or all unavailable - Icons:
mdi:shield-alert(triggered) /mdi:shield-check(clear)
Full changelog
v2.8.2 — HA 2026.3 compatibility fixes
🦾 Maintenance release
Fixes
Critical fixes for Home Assistant 2026.3 compatibility:
-
fix: OptionsFlow config_entry is now read-only in HA 2026.3 — Options flow crashed with
AttributeError: property 'config_entry' has no setter. Fixed by callingsuper().__init__()instead of manually assigning the property. -
fix: entities not created after startup —
async_block_till_done()deadlocks when called inside theEVENT_HOMEASSISTANT_STARTEDhandler, causing all auto_areas entities (presence sensors, cover groups, light groups) to never be created. Reverted to a shortasyncio.sleep(2).
v2.7.1
v2.7.0
v2.6.2
v2.6.1
What's Changed
- Bump ruff from 0.1.14 to 0.5.5 by @dependabot in #134
- Set suggested precision for sensors by @c-st in #135
Full Changelog: v2.6.0...v2.6.1