Happy new year! This is a long due new release of Magic Areas with a couple new (exciting!) features, a bunch of bugfixes and some code improvements.
tl;dr: BLE Tracker support, Meta-areas now track Magic Entities, Magic Areas now auto-reloads on entity/device area change and can ignore diagnostic entities. Area-Aware media player and Climate Groups fixed. One entity_id
has changed, see below!
⚠️ Theentity_id
(andunique_id
) for the "All Lights" entity for all Meta-Areas has changed as it was missing thetranslation_key
that every other entity has in order to support translation. This was missed when I first implemented translation and will not be changed again.
🚀 Features
- Ignore diagnostic and config entities @jseidl (#470)
- Support BLE Trackers as source of presence @jseidl (#467)
- Reload Magic Areas entry when entity registry is updated @jseidl (#422)
- Set control switches to CONFIG entity_category @jseidl (#415)
- Migration for meta areas to use magic entities only @jseidl (#458)
- feat(translation): add french translation file @Julien-Decoen (#410)
🐛 Bug Fixes
- Fix broken climate groups @jseidl (#469)
- Add translation key to meta "All lights" group @jseidl (#408)
- Fixing Area-Aware media player @jseidl (#460)
- Added logic to handle state class TOTAL INCREASING @jseidl (#453)
- Show correct icon for floor meta areas @jseidl (#452)
- Fixing entity id resolution for area aware media player @jseidl (#414)
Other Changes
- Update README.md @marcjay (#409)
- german translation for new auto-reload option @andreasbrett (#465)
- feat: Add french translation for auto-reload option @Julien-Decoen (#464)
- Revision of DE translation @andreasbrett (#462)
- Fix DE translation @andreasbrett (#459)
- feat(light): improve async_turn_on method @Julien-Decoen (#433)
- Simplify Devcontainer, Apply Standard Formatting, and Add VSCode Debugger Configuration @Julien-Decoen (#432)
- feat(translation): translate meta area name @Julien-Decoen (#427)
- Bump actions/checkout from 4.2.0 to 4.2.1 @dependabot (#426)
- Rename fr-FR.json to fr.json @Julien-Decoen (#423)
- Fix self._last_active_sensors not updating correctly in AreaStateTracker class @Julien-Decoen (#411)
- Update black requirement from ~=24.8 to ~=24.10 @dependabot (#425)
- Update pre-commit requirement from ~=3.8 to ~=4.0 @dependabot (#424)
- Bump actions/checkout from 4.1.7 to 4.2.0 @dependabot (#421)
- Update pylint requirement from ~=3.2 to ~=3.3 @dependabot (#418)
- Update mypy requirement from ~=1.13 to ~=1.14 @dependabot (#457)
- Bump softprops/action-gh-release from 2.1.0 to 2.2.0 @dependabot (#456)
- Update ruff requirement from ~=0.7 to ~=0.8 @dependabot (#449)
- Bump softprops/action-gh-release from 2.0.9 to 2.1.0 @dependabot (#445)
- Update pygithub requirement from ~=2.4 to ~=2.5 @dependabot (#444)
- Update packaging requirement from ~=24.1 to ~=24.2 @dependabot (#443)
- Update colorlog requirement from ~=6.8 to ~=6.9 @dependabot (#441)
- Bump softprops/action-gh-release from 2.0.8 to 2.0.9 @dependabot (#440)
- Update pyupgrade requirement from ~=3.18 to ~=3.19 @dependabot (#438)
- Update mypy requirement from ~=1.12 to ~=1.13 @dependabot (#437)
- Bump actions/setup-python from 5.2.0 to 5.3.0 @dependabot (#436)
- Bump actions/checkout from 4.2.1 to 4.2.2 @dependabot (#435)
- Update ruff requirement from ~=0.6 to ~=0.7 @dependabot (#434)
- Update mypy requirement from ~=1.11 to ~=1.12 @dependabot (#431)
- Update pyupgrade requirement from ~=3.17 to ~=3.18 @dependabot (#430)