thomasloven / lovelace-card-mod

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

Lit Element Depreciated #151

Closed tomlut closed 8 months ago

tomlut commented 2 years ago

My Home Assistant version: 2021.11.0

My lovelace configuration method (GUI or yaml): GUI

What I am doing: Looking at the browser developer console

What I expected to happen:

No errors

What happened instead:

This was listed against card-mod:

The main 'lit-element' module entrypoint is deprecated. Please update your imports to use the 'lit' package: 'lit' and 'lit/decorators.ts' or import from 'lit-element/lit-element.ts'. See https://lit.dev/msg/deprecated-import-path for more information.

Minimal steps to reproduce: Use card-mod. Press F12.

# The least amount of code possible to reproduce my error

# End of code

Error messages from the browser console: As above.

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