Comments (11)
Any news on that? I have the same problem using the shopping-list-card. My goal is to have a more compact version by reducing the padding between each entry. But also here the list items seem to be added after card-mod kicked in, that's why I also have to switch tabs in order to make it work...
from lovelace-card-mod.
The map card is a bit special in that it pretty much places an empty card in your browser, requests a map from somewhere, and then lets the browser go away and do other things while the map loads in.
Once it is loaded, it adds everything else, like markers.
The problem is that the map-loading phase can be several milliseconds long(!), and during this time, card-modder does it's thing, but can't find anything because it doesn't exist, so it goes to sleep waiting for an update.
I'm trying to find a reliable way to make it wake up once the map is loaded, but the map card is fighting back...
from lovelace-card-mod.
I believe I found the issue. Try version 3.0.3.
from lovelace-card-mod.
Yeah! Now it works perfectly fine - thank you very much! :)
from lovelace-card-mod.
Same problem here ☝ (YAML, on Chrome desktop & mobile)
from lovelace-card-mod.
Does anybody has a solution for that? 😞
from lovelace-card-mod.
No solution from my side so far. I tried to understand the code, but didn't succeed.
In the chrome debugger it looks like the code of the card-mod is runs the last time before the map tiles & markers appear.
Maybe the card-mod could be delayed somehow or it could catch the event of the appearing elements.
from lovelace-card-mod.
Found out that debug_cardMod: true
like in the readme is wrong, but debug_cardmod: true
works.
There I can also see that it doesn't find any matches to ha-entity-marker
while loading. Only when switching to another view it finds the match.
from lovelace-card-mod.
Thank you very much for your effort! ❤️
from lovelace-card-mod.
Please try with version 3.0
from lovelace-card-mod.
I've tried it now: With default card settings it works nearly all the time, but it doesn't seem to work with enabled hours_to_show
from lovelace-card-mod.
Related Issues (20)
- Cardmod lose setting HOT 1
- card-mod combined with slider-entity-row
- Issue styling Card Header HOT 5
- Card-Mod errors when user visits /config/areas HOT 1
- Hide completed items from shopping list template
- Border radius not applying to mod-card in panel mode HOT 3
- card mod style in different files
- Not working with Nested Shadow root with lovelace-more-info-card HOT 2
- Vertical stack | Templating
- Theme Styling For More Non-Dashboard Pages and Dialogs HOT 5
- styling map markers HOT 1
- Card mod configuration no appearing in card YAMLs but appear in dashboard YAML HOT 1
- Intermittently fails to apply custom style HOT 10
- Outdated signature on Home Assistant entity card HOT 1
- Static icon color in basic cards not surviving HA restart or charging of cache. After some use of HA, the icon color works. I've tried coding the icon color in a few ways, same result. Please note, the same card-mod on mushroom cards work as expected. HOT 5
- Position: Sticky not working in mobile app HOT 6
- position: sticky doesn't work HOT 7
- Intermittent issue with cardmod when casting HOT 2
- Dynamic title for card? HOT 1
- HA Update 2024.7.2 card_mod no longer seems to work properly HOT 18
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 lovelace-card-mod.