I have tested latst version and there mut be something odd going on with the mini-graph-card and second-entity-row because there is nothing wrong in my opinion with the code.
Without the template card it works, with it it doesnāt, and to test, I used the example code from git repo
Iāll play around with it tonight, but my guess is that the show is being botched.
As for the blinking, I was afraid of this happening, especially with things with animations. Pretty much what is happening, is that anytime there is ANY state change, the full card is being redrawn. Perhaps @rhodges idea to have an entity to use could be beneficial in that we would only watch for a state change on that entity. Or perhaps a list of entities to watch for state changes fromā¦? Will have to ponder on that.
Actually, we can even take the combination between card-modder and template card even futher to modify every row in the card. So, for example, you could use:
Edit: To be clear, as of 1.0.2, this is theoretical and not implemented.
I think an optional temp_var or something might be beneficial in this madness that you have createdā¦something like:
wow thatās very nice. Very nice indeed, and exactly what I was looking for. In the Frontend that is.
But what unreadable, and difficult to debug config file is this going to be, if we need to do that for all entities. Nested Custom cards, modders, what have you, and each entity having its own templateā¦and several cards having their own way of more or less supporting templates, some Jinja, some CSS, and of course JSā¦
This is ever going to be an interface for the broader public is rather unlikely, and, tbh, it is getting much more difficult by the weekā¦
Donāt get me wrong, I really really need these templates and option to do so, but feel we should get back to the devās (or need we say STAFF now) and ask if this canāt be included in the native architecture. reintroduce Customize, or custom-ui even (which still works btw, but was never officially supported)
Trying to use this to show a WiFi link count for a sonoff switchā¦
In the template editor (dev-tools) this shows the number:
{{state_attr(āsensor.sonoff1_2914_statusā ,āWiFi LinkCountā)}}
Iāve been doing all my testing in storage mode, canāt think of what could make a difference as in the end the front end just has the full configuration. Search the .js file for the console.log statements. Uncomment those and see if there is anything strange being output. I was able to do your exact example, just switching out the entity for mine, without issue.
You sure you donāt have any errors in your browser console?