config-template-card icon indicating copy to clipboard operation
config-template-card copied to clipboard

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

Open LazzaAU opened this issue 2 years ago • 2 comments

Checklist:

  • [x] I updated to the latest version available
  • [x] I cleared the cache of my browser

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:

  • person.larry card: type: iframe url: >- ${"https://embed.windy.com/embed2.html?lat="+LAT+"&lon="+LON+"&detailLat="+LAT+"&detailLon="+LON+"&width=650&height=450&zoom=10&level=surface&overlay=wind&product=ecmwf&menu=&message=&marker=&calendar=now&pressure=&type=map&location=coordinates&detail=true&metricWind=default&metricTemp=default&radarRange=-1"} aspect_ratio: 120%

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:

LazzaAU avatar May 27 '22 11:05 LazzaAU

I got the same issue

liudger avatar Jul 14 '22 14:07 liudger

someone found a fix for this?

deBoulangerie avatar Jul 25 '22 08:07 deBoulangerie

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']

ildar170975 avatar Jul 05 '23 22:07 ildar170975