Minor comment codereview fix.
This commit is contained in:
+1
-3
@@ -709,9 +709,7 @@ export const sideLoadHomeAssistantElements = async (): Promise<boolean> => {
|
|||||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||||
const helpers: CardHelpers = await (window as any).loadCardHelpers();
|
const helpers: CardHelpers = await (window as any).loadCardHelpers();
|
||||||
|
|
||||||
// The picture-glance editor loads everything this card needs. In particular:
|
// The picture-glance editor loads everything this card needs.
|
||||||
//
|
|
||||||
// See: https://github.com/thomasloven/hass-config/wiki/PreLoading-Lovelace-Elements
|
|
||||||
const pictureGlance = await helpers.createCardElement({
|
const pictureGlance = await helpers.createCardElement({
|
||||||
type: 'picture-glance',
|
type: 'picture-glance',
|
||||||
entities: [],
|
entities: [],
|
||||||
|
|||||||
Reference in New Issue
Block a user