This is cross-posted to the bug tracker, but as I know the developers are busy, I was hoping for some crowd-sourced wisdom.
Since upgrading to 2021.6.x, my older iPad running 12.5.4 can no longer display any Lovelace dashboard. Instead, it continually refreshes. When I connect to the console, I see the following error:
The main 'lit-element' module entry point is deprecated. Please update your imports to use the 'lit' package: 'lit' and 'lit/decorators.ts' or import from 'lit-element/lit-elements.ts'.
I have removed all custom-components etc. from my configuration to try to troubleshoot, but still see the error. I have cleared the cache, restarted HA… all the obvious things. Why is the dashboard still trying to use the older version of lit-element?
Here is the relevant part of my configuration:
# Lovelace section
lovelace:
mode: yaml
# resources:
# - url: /hacsfiles/mini-media-player/mini-media-player-bundle.js
# type: module
# - url: /hacsfiles/lovelace-clock-card/clock-card.js
# type: module
# - url: /hacsfiles/lovelace-darksky-card/lovelace-darksky-card.js
# type: module
# - url: /hacsfiles/dual-gauge-card/dual-gauge-card.js
# type: module
dashboards:
# lovelace-iphone:
# mode: yaml
# filename: lovelace-iphone.yaml
# title: iPhone
# icon: mdi:cellphone-iphone
# show_in_sidebar: true
# require_admin: true
# lovelace-ipad-kitchen:
# mode: yaml
# filename: lovelace-ipad-kitchen.yaml
# title: iPadK
# icon: mdi:tablet-ipad
# show_in_sidebar: true
# require_admin: false
lovelace-test:
mode: yaml
filename: lovelace-test.yaml
title: test
icon: mdi:tablet-ipad
show_in_sidebar: true
require_admin: false
Here is the lovelace config file:
title: Home
views:
- title: Home
icon: mdi:home
path: home
badges: []
cards:
- type: vertical-stack
cards:
- type: entities
title: Lights
show_header_toggle: false
entities:
- entity: group.upstairs_lights
name: upstairs
- entity: group.mainfloor_lights
name: main floor
- entity: group.basement_lights
name: basement