Skip to content

[Bug]: Aggregate Sensor not creating all types #600

Description

@kilian-f-za

System Health details

System Information

version core-2026.1.2
installation_type Home Assistant OS
dev false
hassio true
docker true
container_arch amd64
user root
virtualenv false
python_version 3.13.11
os_name Linux
os_version 6.12.51-haos
arch x86_64
timezone Europe/Berlin
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
HACS Data ok
GitHub API Calls Remaining 5000
Installed Version 2.0.5
Stage running
Available Repositories 2704
Downloaded Repositories 33
Home Assistant Cloud
logged_in true
subscription_expiration 4. Februar 2027 um 01:00
relayer_connected true
relayer_region eu-central-1
remote_enabled true
remote_connected true
alexa_enabled false
google_enabled true
cloud_ice_servers_enabled true
remote_server eu-central-1-16.ui.nabu.casa
certificate_status ready
instance_id f954e584aaf34d6e97c36ab249aa52cb
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 16.3
update_channel stable
supervisor_version supervisor-2026.02.1
agent_version 1.7.2
docker_version 28.3.3
disk_total 30.8 GB
disk_used 19.7 GB
nameservers 9.9.9.9, 2003:f4:8f1e:a702::1
healthy true
supported true
host_connectivity true
supervisor_connectivity true
ntp_synchronized true
virtualization kvm
board ova
supervisor_api ok
version_api ok
installed_addons Matter Server (8.2.2), Mosquitto broker (6.5.2), Z-Wave JS UI (7.0.0), Zigbee2MQTT (2.8.0-1), File editor (5.8.0), ESPHome Device Builder (2026.1.4), Node-RED (21.0.0), Network UPS Tools (0.17.0), Govee to MQTT Bridge (2025.11.25-60a39bcc), Advanced SSH & Web Terminal (23.0.2), Frigate Proxy (1.6), OpenThread Border Router (2.16.1)

Checklist

  • I have enabled debug logging for my installation.
  • I have filled out the issue template to the best of my ability.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of any previous issues..

Describe the issue

Battery sensors from the Battery Notes integration, properly assigned to a Magic Area (e.g., Pantry), fail to show in aggregated sensors for that area. The "battery" sensor type is enabled in aggregated sensors config, but the sensor only appears when manually added in general analysis settings.

Expected Behavior

Area-assigned Battery Notes sensors (e.g., sensor.pantry_device_battery) should automatically aggregate and display battery values in the Pantry's Magic Areas view, matching HA's native area display.

Actual Behavior

Image

Sensor is correctly in Home Assistant's Pantry area. Not visible in Magic Areas aggregates for Pantry. Can be added manually via Magic Areas "General Settings.

Image

Aggregated sensors config has "battery" type enabled.

Image

Reproduction steps

  1. Install/configure Battery Notes integration; note a sensor (e.g., sensor.pantry_sensor_battery) and assign it to "Pantry" area via entity settings.
  2. In Magic Areas, ensure areas are set up and "battery" is added to aggregated sensor types.
  3. Restart/reload Magic Areas: Sensor missing from Pantry aggregates.
  4. Go to Magic Areas general settings > analysis: Sensor is selectable and works when added manually.

Debug logs

No

Diagnostics dump

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions