πͺ Magic Areas for Home Assistant¶
Magic Areas is a Home Assistant custom integration that brings context-aware, state-driven automation to your smart home.
Instead of configuring each entity manually, Magic Areas leverages areas, meta-areas, and presence sensing to create smart groups and advanced automations. It turns Home Assistant's built-in Areas into intelligent, presence-aware zones, automatically detecting when someone is in a room β and when theyβve left β using your existing motion, presence, or occupancy sensors.
Magic Areas intelligently tracks presence and adds powerful automations like light control, fan activation, and climate presets β all managed through a clean UI.
Smart areas that just works, everytime, out of the box. Fully customizable if you want it.
β¨ What Magic Areas Does¶
- Detects presence in each area using multiple sources (motion sensors, media players, device trackers, BLE beacons, and more).
- Creates smart groups (lights, fans, climate, media players) that respond to an areaβs state automatically.
- Supports secondary states like dark, sleep, and extended for context-aware automation.
- Provides meta-areas (e.g., Interior, Exterior, Global, Floors) to coordinate multiple areas at once.
- Includes built-in, automation-like features: light control, fan groups, climate preset switching, and more
π Documentation Structure¶
The docs are split into concepts, how-tos, and feature references so you can dive in depending on what you need:
π§ Concepts¶
Learn the key ideas that power Magic Areas:
π οΈ How-To Guides¶
Step-by-step instructions to get started and troubleshoot:
And also a library of implementation examples:
- Making every room magic
- Using energy aggregates on the energy dashboard
- Automatic lights brightness control
- Perfecting climate comfort with Climate Control
... and others!
β‘ Features¶
Detailed documentation for each feature.
π How to get into magic?¶
- Install Magic Areas via HACS or manually.
- Follow the Getting Started guide to set up your first areas.
- Explore the Features to unlock the full potential of your smart home.
Need help?
π¬ Join the Magic Areas Discord or open an issue on GitHub.