thomasloven / lovelace-card-mod

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

reoccurrence of issue in ticket 275 #321

Open snigehere opened 9 months ago

snigehere commented 9 months ago

My Home Assistant version: 0.XX.X Version core-2023.12.1 Installation Type Home Assistant OS Python Version 3.11.6 Operating System Family Linux Operating System Version 6.1.63-haos CPU Architecture x86_64

card mod 3.3.0

My lovelace configuration method (GUI or yaml):

What I am doing: I am using the power flow plus card and get a similar error as described in this ticket which is marked closed as fixed https://github.com/thomasloven/lovelace-card-mod/issues/275 In the power flow plus card repository this issue is tagged as being caused by the card mod package Snap8

What I expected to happen:

What happened instead:

Minimal steps to reproduce:

# The least amount of code possible to reproduce my error
Ypu will need the power flow card plus add on

type: custom:power-flow-card-plus
entities:
  grid:
    entity: sensor.smart_meter_electricity_power

# End of code

Error messages from the browser console:


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

thomasloven commented 9 months ago

Could you verify that your browser console says that Card-mod 3.3.0 is installed when this problem appears?

snigehere commented 9 months ago

Hi - Thanks for the question ... I checked the card-mod version at the time of reporting and it showed card mod 3.3.0 as the version installed....

I have gone back today to recreate the issue but its behaving correctly at the moment .. this is similar to my initial experience .. When I first installed the power-flow-card-plus the UI worked as expected but a day or so later, after I had created a couple of sensors I needed to populate the power flow card with, I experienced the issue. I faffed about a bit and tried reinstalling the power flow card plus package. I went to open the ticket against the power flow card plus package and their ticket proforma referenced this prior issue but the reference in the readme for power flow card plus had been removed. I searched and found the closed ticket against card-mod and looked at the discussion that went on and also saw it was marked closed. I then refreshed the card-mod package to make sure I had the latest versions. Browser cache refresh done and even restarted home assistant to ensure all was clean but the issue persisted and so I created the two tickets

I use card mod in a few cards on my dashboards so wonder if its a specific use of the card mod that creates the error condition. After the Christmas break I will spend some time trying to see if I can re-produce the issue.

aLimp86 commented 7 months ago

Did you get this working meanwhile?