-
Notifications
You must be signed in to change notification settings - Fork 67
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
State dependant icons (motion, door / window sensors) replaced with mdi:bookmark #330
Comments
I have the same issue with cover entities. The issue started occurring for me immediately upon upgrading to Core 2024.2.0. Core 2024.2.0 |
Same (or similar) here. Started once updated to HA 2024.2.0 from 2024.1.6. Same with HA 2024.2.1 also. In more detail as per what I observe:
Core: 2024.2.0 (later 2024.2.1) |
Adding a little more context plus a visual to what others have observed. Here you can see a mix and match of icons that show properly, and ones that don't. I hadn't fully figured out the pattern until the previous post. To add to what was mentioned before, with the exception of the window, all of the correctly showing icons in my case are template sensors. The icon changes based on state. The window is a normal Z-wave contact sensor set to show as window |
A PR is submitted #331 |
Some problem :( |
Is there a way to test this while waiting for the PR to be merged? I can't find the patched file ( |
Tested it locally (made changes in an obfuscated js file by myself) with no success. |
@ildar170975 I saw your comment on the PR. Where/how did you access the obfuscated file? |
@jeremysherriff
Have to do this "brute" update since did not have the generated updated js-file. |
I've also tested the proposed fix locally by overriding the code directly using Chrome dev tools, and it surely fixes the problem as it should. The How to:
I hope this helps! |
Order is important, as this is messing with concatenation of text strings within a function. Relevant part of original line:
Alter to:
If you do use a local override file, you'll need to remember to remove that override once the update has been released. |
I think I might be not the only person wondering, |
Not seeing any activity from @benct since December... |
So ... is that repo dead ? Should we fork it ? |
I'll merge the PR and try to get a new version released as soon as possible. |
heeeeeeyyyy ! lost person found ! thanks a lot bud ! |
Should be fixed with version |
FYI - works like a charm ! Thanks again. |
Hi, after most recent update to HASS, the icons for stuff that has icon dependant of it's state (motion sensors / window & door sensors) stoped showing appropriate icons and shows mdi:bookmark. Saying that the state colour works.
Current system info:
Core 2024.2.0
Supervisor 2024.01.1
Operating System 11.5
Frontend 20240207.0
The text was updated successfully, but these errors were encountered: