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

Card-Mod does not work in Chrome or Webkit but does in Firefox #397

Open
4 tasks done
mhentschke opened this issue Aug 20, 2024 · 1 comment
Open
4 tasks done

Card-Mod does not work in Chrome or Webkit but does in Firefox #397

mhentschke opened this issue Aug 20, 2024 · 1 comment

Comments

@mhentschke
Copy link

My Home Assistant version: 2024.7.3

My lovelace configuration method (GUI or yaml): GUI

What I am doing: Using any mods in Firefox and in Chrome/Webkit

What I expected to happen: Mods to apply

What happened instead: Firefox works flawlessly. Chrome and Webkit do not work at all even after cleaning the cache in multiple different devices (Windows, Mac, Android Tablet and Android Phone

Minimal steps to reproduce:

# The least amount of code possible to reproduce my error

type: custom:mushroom-entity-card
entity: person.myperson
card_mod:
  style: |
    ha-state-icon {
      color: orange;
    }

# End of code

Error messages from the browser console:

No relevant error message in either browser. Browser consoles look the same when it works and when it does not

Other maybe relevant info:

  • Installed using HACS
  • Version 3.4.3

What I tried:

  • Clearing Cache
  • Switching devices
  • Changing Webkit to Beta and Canary 128.0.6613 and 129.0.6666
  • Added a random number after the card-mod.js file: /hacsfiles/lovelace-card-mod/card-mod.js?hacstag=190927524343 -> /hacsfiles/lovelace-card-mod/card-mod.js?hacstag=190927524343000 to force re-download
  • Added javascript_version: latest to my frontend config

No changes were seen in any of these trials

By putting an X in the boxes ([]) below, I indicate that I:

@mhentschke mhentschke changed the title Card-Mod does not work in Card-Mod does not work in Chrome or Webkit but does in Firefox Aug 20, 2024
@ildar170975
Copy link
Contributor

ildar170975 commented Aug 21, 2024

изображение

Means - ask in Community first since you are probably doing smth wrong.

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

2 participants