iantrich / config-template-card

📝 Templatable Lovelace Configurations
MIT License
425 stars 55 forks source link

No visual editor available for type 'custom:config-template-card'. #105

Closed LazzaAU closed 1 year ago

LazzaAU commented 2 years ago

Checklist:

Release with the issue: Home Assistant Core 2022.5.5 Home Assistant Supervisor 2022.05.3 Home Assistant OS 8.1 Kernel version 5.15.32-v8

custom card version = 1.3.6

Last working release (if known):

Browser and Operating System: Firefox Linux - Ubuntu 20.4 ?

Same issue using chrome

Description of problem: i get the error of No visual editor available for type 'custom:config-template-card'. I have installed using HACS. It's highly possible i've simply done something wrong as i'm new to this side of HA addons etc

I'm expecting the weather webpage card to display but it doesnt. the custom card code is

type: custom:config-template-card variables: LAT: states['person.larry.latitude'].state LON: states['person.larry.longitude'].state entities:

Javascript errors shown in the web inspector (if applicable):

only errors i see in the console that are related are ...

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. config-template-card.js:329:12

Additional information:

liudger commented 2 years ago

I got the same issue

deBoulangerie commented 1 year ago

someone found a fix for this?

ildar170975 commented 1 year ago

LAT: states['person.larry.latitude'].state LON: states['person.larry.longitude'].state

This is definitely wrong. Should be kind of

states['person.larry'].attributes['latitude']