Skip to content
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

Page load fine, reload fails to render 70% of mods, next refresh its fine again - Repeat #124

Open
mattisaoldgit opened this issue Nov 14, 2024 · 5 comments

Comments

@mattisaoldgit
Copy link

mattisaoldgit commented Nov 14, 2024

As the title says:

It randomly renders lcars fine, then is ok for a few refreshes, then its all wrong for a few then all ok again.

Things I have tried:

  1. New Dash Board
  2. Reinstalled Lcars
  3. Reinstalled Lcars with manual download of lcars.js (all latest versions)
  4. Hit head against wall
  5. Tried dashboard with single mod in
  6. Tried on tablet, phone and laptop
  7. Made sacrifices to our overlord and all seeing god of CSS
  8. Only thing not tried is just wiping Home Assistant and starting again (is there a way of just resetting the front end?)

There is nothing in the logs :(

Screenshot 2024-11-14 at 20 51 56 Screenshot 2024-11-14 at 20 52 06

cards:
- type: markdown
card_mod:
class: bar-large-left
content: >-
##   Mission Log - Star Date:
{{states('sensor.married_just_days') }}
- type: markdown
card_mod:
class: header-contained
content: "## Environmental Scanners"

Wife is away for another 2 days, she is massive Star Trek Geek, wanted to surprise her.

Any idea welcome

Thanks

@mattisaoldgit
Copy link
Author

I just tried this on a complely new insall of HA.

Same results?!?

Card-mod confirmed and working
Followed instructions to the letter
Cleared Cache
Restarted

Same randomness! is it me?!? Anyone else want to try updating to latest HA and latest LCars and try it? Just keep hitting refresh and see what happens!

@BigTrikerTom
Copy link

As has been written here several times:
Markown-card has an unsolved bug (has already been reported here: thomasloven/lovelace-card-mod#392) and should be replaced by html-card.

@mattisaoldgit
Copy link
Author

mattisaoldgit commented Nov 16, 2024

As has been written here several times: Markown-card has an unsolved bug (has already been reported here: thomasloven/lovelace-card-mod#392) and should be replaced by html-card.

I am gonna go ahead and ask for the examples in the instructions be changed not to include Markdown then or to mention the issue with card-mod. Would that make sense and save a lot of effort for others?

Thanks BigTrikerTom, I did look through and searched, but I wasn't using the same words to get a hit as I didnt have a clue what was causing the problem and for me it was hard to describe

@BigTrikerTom
Copy link

BigTrikerTom commented Nov 16, 2024

It is also there under 'Known Issues'. Link: https://github.com/th3jesta/ha-lcars#known-issues
But I agree with you that the rest of the documentation should also be adapted.

@th3jesta
Copy link
Owner

I will update the documentation. I was hoping card-mod would have addressed it by now, but here we are. Markdown is better than the HTML card, but it seems HTML is the best choice now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants