Comments (5)
This also seems related home-assistant/frontend#16666
from custom-ui.
doesnt the 16666 prove it has nothing to do with custom-ui? and rather its a more generic HA issue?
unless the user is also using custom-ui, it would look for solving that in HA
doesnt mean I am not hoping custom-ui could be optimized, and I have indicated before there's a constant updating going I would love to prevent
as you say:
So every time some state change, we are there and looping thru all states and checking if the entity the state belongs to have template in the list of attributes.
if this PR you suggest would actually stop that from happening, and only check the required states, that would be awesome.
from custom-ui.
doesnt the 16666 prove it has nothing to do with custom-ui? and rather its a more generic HA issue?
unless the user is also using custom-ui, it would look for solving that in HA
Yes and no. As custom-ui is constantly "updating" all its customization's object because of the broken if statements, that is making the HA bug even worse. Custom-ui is constantly triggering the bug by its unnecessary updates.
doesnt mean I am not hoping custom-ui could be optimized, and I have indicated before there's a constant updating going I would love to prevent
This doesn't solve all of them, but at least one of them.
if this PR you suggest would actually stop that from happening, and only check the required states, that would be awesome.
No it doesn't, this PR fixes the BROKEN if statement that will prevent the updates later down the stack if there is checks in place. To me it seems like you don't understand the code in PR at all, is that why you are unsure about this?
At least it will prevent custom-ui to change states that it doesn't need to be changed. Remember, we are high-jacking the method so we don't "own" anything here.
from custom-ui.
its not that I dont understand, its more the fact I want to make sure we are not tailor-made 'fixing' issues in other software that should be generically fixed in that other software.
I can see the value ofc of preventing those useless updates. as a matter of fact, I believe the complete plugin should be reviewed on that aspect, and adjusted.
tbh, Ive stopped using it altogether, moved my icon changes to card-mod, and have created a tiny separate custom-icon-color plugin to do only that (it still uses the old code, attaching the attribute and changing the state badge with it)
having said all of that, I'll approve, and would like to ask if you can write a short and succinct description please, without referring to the Map issue in HA.
thanks for you in depth explanation above, and effort to keep this plugin up to date.
hope you will be able to have a look at the other open issue, where the templates, or more specifically the templates results no longer show as a result when templated in Jinja.
Ill tag you there, maybe you can have a look
from custom-ui.
....would like to ask if you can write a short and succinct description please
Addressed an issue where state objects were inadvertently updated as a result of a comparison error.
from custom-ui.
Related Issues (20)
- Row/card inside config-template-card is flickering if entity is customized by Custom UI HOT 10
- icon changes defined in customize_glob stopped working on HA 2022.4 HOT 6
- list of CustomUI's not displayed in 2022.5 UI config HOT 1
- 2022.9: hide_attributes no longer functional HOT 4
- custom-ui causing issues in /Settings menu? HOT 3
- Icon color not working in 2023.1 HOT 24
- Failed to load resource: the server responded with a status of 404 (Not Found) HOT 8
- TypeError: undefined is not an object HOT 26
- MQTT sensors and dynamic icon and icon color HOT 4
- 2023.9 custom-more-info: null is not an object (near '...elector("ha-dialog") HOT 8
- TypeError: Cannot read properties of null (reading 'getElementsByClassName') HOT 2
- Struggling to get custom-ui to work HOT 4
- Uncaught error from Edge 117.0.2045.60 on Windows 10 ReferenceError: Polymer is not defined /hacsfiles/fan-control-entity-row/fan-control-entity-row.js:9:28 HOT 2
- Custom-ui templated attributes dont show in dev tools and backend Jinja templates HOT 29
- HA 2023.11 breaks more info hide_attributes, open call to assist HOT 1
- release '20231123' is broken on HACS HOT 3
- Colors not shown in companion App HOT 3
- Is it just my system or does custom-ui prevent yaml reloading via Location & Customizations? HOT 5
- Icon update seems kind of delayed HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from custom-ui.