You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 Conditions documentation show 'attribute:' as a valid label for numeric state conditions but in Dashboard Cards and Badges, this label is ignored.
Describe the behavior you expected
As per the Conditions documentation, when 'attribute:' is used in visibility conditions for Cards and Badges the specified attribute is used to compare Above/Below rather than the Entity value.
Steps to reproduce the issue
Create a Badge in any Dashboard
Select the 'Visibility' tab
Add an 'Entity Numeric State' condition
Press 'SHOW CODE EDITOR'
Add 'attribute: below the entity line
Save
What version of Home Assistant Core has the issue?
2024.10.0
What was the last working version of Home Assistant Core?
No response
In which browser are you experiencing the issue with?
Firefos 115.04
Which operating system are you using to run this browser?
Debian 12
State of relevant entities
No response
Problem-relevant frontend configuration
No response
Javascript errors shown in your browser console/inspector
No response
Additional information
There is a brief discussion here: #21550
bus as there is a mismatch between documentation and functionality, I thought it appropriate to raise an issue.
The text was updated successfully, but these errors were encountered:
I believe this may be intentional, as I have seen many developer comments that they generally want to move away from using attributes and instead having more sensors. So I think any new development of attribute related features is discouraged.
Thank you for your reply and link to the 'alternative' conditions for Dashboards. Like most, I suspect people will search for 'Home Assistant conditions' and end up where I did.
I sincerely hope this is not intentional - an entity can currently have many attributes that would never normally be displayed but are essential for conditions. UI conditions are likely to be particularly reliant on non-visible attributes.
If the intention is to limit the use of attributes to values that are defined during configuration (such as UoM) and to move attributes that are set/changed at runtime to sensors, that would be logical but needs a roadmap - and the future usage of attributes communicated to developers.
Checklist
Describe the issue you are experiencing
The Conditions documentation show 'attribute:' as a valid label for numeric state conditions but in Dashboard Cards and Badges, this label is ignored.
Describe the behavior you expected
As per the Conditions documentation, when 'attribute:' is used in visibility conditions for Cards and Badges the specified attribute is used to compare Above/Below rather than the Entity value.
Steps to reproduce the issue
What version of Home Assistant Core has the issue?
2024.10.0
What was the last working version of Home Assistant Core?
No response
In which browser are you experiencing the issue with?
Firefos 115.04
Which operating system are you using to run this browser?
Debian 12
State of relevant entities
No response
Problem-relevant frontend configuration
No response
Javascript errors shown in your browser console/inspector
No response
Additional information
There is a brief discussion here: #21550
bus as there is a mismatch between documentation and functionality, I thought it appropriate to raise an issue.
The text was updated successfully, but these errors were encountered: