magic-areas
Adds a Home Assistant integration that creates virtual ‘smart areas’ which automatically aggregate the state of battery‑powered devices within a defined space.
- •You want a single entity that reflects the overall battery health of all sensors in a room (e.g., all temperature sensors in the kitchen).
- •You need to trigger automations based on the lowest battery level inside a zone (e.g., send a reminder when any door sensor in the garage is <20%).
- •You’d like to see a concise battery‑status dashboard for each area without manually grouping entities.
In Home Assistant’s Developer Tools → Services, call the service `magic_areas.update_area` with: ```yaml entity_id: sensor.living_room_battery area: Living Room ```to force a refresh of the aggregated battery value after adding new devices.
Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.
Expect 20–40 minutes in a terminal — or let your AI agent drive it.
mkdir -p ~/.claude/skills/magic-areas && curl -fsSL https://workflowstacks.com/api/skills/magic-areas/claude-skill -o ~/.claude/skills/magic-areas/SKILL.mdOpens the app with this repo with the prompt ready to go — no copy-paste needed.
Magic-areas is a medium Python project (~6.6k lines across 29 code files, plus 20 test files). Expect some technical setup — comfortable with a terminal, or ask a developer. Last commit this month, MIT license, has a test suite.
- 1README.mdStart here — what it does and how to install it
- 2pyproject.tomlDependencies and the commands it exposes
Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.
Expect 20–40 minutes in a terminal — or let your AI agent drive it.
mkdir -p ~/.claude/skills/magic-areas && curl -fsSL https://workflowstacks.com/api/skills/magic-areas/claude-skill -o ~/.claude/skills/magic-areas/SKILL.mdOpens the app with this repo with the prompt ready to go — no copy-paste needed.
Are you the creator of this tool? and earn 85% of every sale.
Show it off in your README:
[](https://workflowstacks.com/skills/magic-areas?utm_source=github&utm_medium=badge)The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.
Related skills
More automation tools founders pair with this one.