thomasloven / lovelace-card-mod

🔹 Add CSS styles to (almost) any lovelace card
MIT License
1.06k stars 169 forks source link

Performance warning in console, with frontend extra_module_url #282

Closed askpatrickw closed 1 year ago

askpatrickw commented 1 year ago

My Home Assistant version: 0.XX.X

My lovelace configuration method (GUI or yaml): Installed Card Mod from HACS, Installed LCARS HA theme from HACS. Added frontend to YAML.

What I am doing: I'm using the LCARS HA theme which requires card mod. Its working, but I notice console errors.

What I expected to happen: No errors

What happened instead:

Error in console

Minimal steps to reproduce:

frontend:
  themes: !include_dir_merge_named themes
  extra_module_url:
    - /config/www/community/lovelace-card-mod/card-mod.js

Also tried: - /local/community/lovelace-card-mod/card-mod.js but I don't get the card mod install log entry.

Error messages from the browser console:

card-mod.js:5 You may not be getting optimal performance out of card-mod.
See https://github.com/thomasloven/lovelace-card-mod#performance-improvements
card-mod.js:5 CARD-MOD 3.2.2 IS INSTALLED

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

ildar170975 commented 1 year ago

Duplicates https://github.com/thomasloven/lovelace-card-mod/issues/267

askpatrickw commented 1 year ago

dupe