Skip to content

Area-Card - Alarm-Classes are shown in the wrong context in some cases. #27067

@ChristophCaina

Description

@ChristophCaina

Checklist

  • I have updated to the latest available Home Assistant version.
  • I have cleared the cache of my browser.
  • I have tried a different browser to see if it is related to my browser.
  • I have tried reproducing the issue in safe mode to rule out problems with unsupported custom resources.

Describe the issue you are experiencing

The Area Card does allow to add alert-information / alert-notification to it.
These are binary_sensors, that will be shown on the area card, as soon as the binary_sensor got the value "true" / "on".

In some cases, this would show up an "alert" in the wrong context.
For example, for the connectivity.

connectivity is true, when the connection has been established.
As soon, as a connection dropped, the sensor would be false.

The area card does only show the alert-state for connectivity, when the sensor is true - which means, when the device or what ever is connected.
But this does not require any "alarm".

Either, the logic of the binary sensor of type "connectivity" needs to be inverted -> connected, would then be state false, disconnected would be state=true (in this case, the naming of the senosr would be wrong) - or the logic for alarm states on the area card needs to be reworked and improved.

Describe the behavior you expected

alarm states on the area card, such as "connectivity" (for example) should only be shown, when the sensor value is false / off
Right now, the alarm would be shown, when the connectivity state is true => which means, everything is fine.

Steps to reproduce the issue

  1. add connectivity sensors to HomeAssistant
  2. make sure, it is on / true / connected
  3. add the connectivity as alarm state to an area card
    ...

What version of Home Assistant Core has the issue?

2025.9.3

What was the last working version of Home Assistant Core?

No response

In which browser are you experiencing the issue?

No response

Which operating system are you using to run this browser?

No response

State of relevant entities

Problem-relevant frontend configuration

JavaScript errors shown in your browser console/inspector

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions