-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The color of binary sensors never changes (regardless of state) #14701
Comments
Yes, I use the default theme. However, hoping to find a solution in more recent commits, I am using the latest development version of frontend (which I believe changed the default color to yellow). Is it true that your motion sensor keeps detecting motion for so many minutes? 😄 I am specifically talking about |
For testing colors of binary sensors I am using this solution: This card is for testing colors for icons & history-graph. |
I also see yellow on yellow now on a history for motion sensor. How is this possible? It has to be a bug |
Checklist
Describe the issue you are experiencing
Starting from 2022.12, the color of the icon of a binary sensor (eg. a motion sensor) is always the same color, even ifs state changes (unlike shown here: https://www.home-assistant.io/integrations/binary_sensor/#device-class and unlike versions before the new "Shiny new state colors" feature).
This same color is displayed in history graphs, so at the moment I have graphs with bars of the same color although the "On" and "Off" string is shown on the bar itself, which makes the rather hard to understand and use.
Describe the behavior you expected
I expected the binary sensor to have different icons and different color for on and off, but only the icon changes since 2022.12.
Steps to reproduce the issue
What version of Home Assistant Core has the issue?
2022.12.1
What was the last working version of Home Assistant Core?
2022.11.5
In which browser are you experiencing the issue with?
No response
Which operating system are you using to run this browser?
No response
State of relevant entities
No response
Problem-relevant frontend configuration
No response
Javascript errors shown in your browser console/inspector
No response
Additional information
I also tried with latest git version of home-assistant/frontend.
The text was updated successfully, but these errors were encountered: