lovelace-card-mod
lovelace-card-mod copied to clipboard
Lit Element Depreciated
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:
-
[X] Understand that this is a channel for reporting bugs, not a support forum (https://community.home-assistant.io/).
-
[X] Have made sure I am using the latest version of the plugin.
-
[X] Have followed the troubleshooting steps of the "Common Problems" section of https://github.com/thomasloven/hass-config/wiki/Lovelace-Plugins.
-
[X] Understand that leaving one or more boxes unticked or failure to follow the template above may increase the time required to handle my bug-report, or cause it to be closed without further action.