Skip to content

Releases: c-st/auto_areas

v2.9.3 — Presence Timeout & Smarter Reloads

28 Mar 14:19

Choose a tag to compare

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...v2.9.3

v2.9.2 — Illuminance manual override fix

28 Mar 13:09

Choose a tag to compare

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...v2.9.2

v2.9.1 — Area Open Sensor

28 Mar 12:08

Choose a tag to compare

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 — off when 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...v2.9.1

v2.9.0 — Environmental Safety Sensor

28 Mar 11:48

Choose a tag to compare

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 is on
  • Fail-safe — off when no sensors present or all unavailable
  • Icons: mdi:shield-alert (triggered) / mdi:shield-check (clear)

Full changelog

v.2.8.2...v2.9.0

v2.8.2 — HA 2026.3 compatibility fixes

27 Mar 20:39
a418f70

Choose a tag to compare

🦾 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 calling super().__init__() instead of manually assigning the property.

  • fix: entities not created after startupasync_block_till_done() deadlocks when called inside the EVENT_HOMEASSISTANT_STARTED handler, causing all auto_areas entities (presence sensors, cover groups, light groups) to never be created. Reverted to a short asyncio.sleep(2).

v2.7.1

21 Apr 17:02
f7aca93

Choose a tag to compare

🔧 Maintenance release

What's Changed

  • Make area filtering less strict by @c-st in #157

Full Changelog: v2.7.0...v2.7.1

v2.7.0

03 Aug 14:09

Choose a tag to compare

💡

What's Changed

Full Changelog: v2.6.2...v2.7.0

v2.6.2

30 Jul 18:54
e8520ba

Choose a tag to compare

🔧 Maintenance release

What's Changed

  • Extract device_info to area by @c-st in #136

Full Changelog: v2.6.1...v2.6.2

v2.6.1

30 Jul 18:08
6eefb11

Choose a tag to compare

What's Changed

Full Changelog: v2.6.0...v2.6.1

v2.6.0

28 Jul 21:42
e5669fb

Choose a tag to compare

🪟

What's Changed

  • Add support for cover groups by @c-st in #132

Full Changelog: v2.5.1...v2.6.0