[Bug] Area card hides temperature/humidity sensors when alert_classes are defined (2025.7+)

:bug: Bug: Temperature/Humidity Sensors Missing from Area Cards After 2025.7 Update

Hi everyone,

I wanted to share a bug I encountered with the new area card introduced in Home Assistant 2025.7 (still present in 2025.7.1).

:mag: Symptoms

  • Some area cards no longer display temperature and/or humidity sensors, even though the entities are correctly assigned to the zone.
  • In edit mode, the sensors appear in the preview, but they disappear in normal view.
  • In my case, 5 out of 11 area cards were affected.

:white_check_mark: Workaround

Removing the following section from the YAML config of the card:

alert_classes:
  - motion
  - moisture

… immediately restores the missing sensors.

Even if Home Assistant re-adds these values by default, the sensors remain visible after the first save. It seems the issue is related to internal filtering or rendering logic triggered by alert_classes.

:bulb: Stable fix

To prevent the system from re-inserting default alert classes, use:

alert_classes: []

This keeps the card clean and allows sensor_classes to work as expected.

Hope this helps others facing the same issue!

Hello Karco,

This is not a forum for bug reports. If you believe you have found a bug and your discussions here have people agreeing with you (It’s not currently working as designed) then you should check the Reporting Issues. If it is working as designed and you just don’t like it, then look at home-assistant · Discussions · GitHub place in GitHub for more info.

If there is already an issue for it, add a thumbs up to help push the effort along and add a link here in your post for it. If there is not an issue open for it open one.
It’s good to discuss and verify that there is an issue here, but if you want the appropriate developer to look at it & maybe get it resolved, it will have to be seen as an issue or feature request in GitHub…

Hi everyone,

Apologies — I just realized this forum isn’t the right place for bug reports. Thank you for pointing that out.

Could someone please let me know how to delete or close this post properly? I’d like to avoid cluttering the forum.

Thanks again for your understanding!