fineemb / lovelace-thermostat-card

Thermostat Lovelace card
Other
109 stars 27 forks source link

Custom element doesn't exist: thermostat-card. #17

Closed adizag closed 4 years ago

adizag commented 4 years ago

Hi

installed the very last version of HACS (1.0.1), thermostat-card(v1.2.9) and HA (0.110.1). I'm getting "Custom element doesn't exist: thermostat-card."

ManCaveMedia commented 4 years ago

I just installed this and got the same error. Same after a restart of Home Assistant.

Code editor in Lovelace says: Cannot read property 'setConfig' of undefined I'm using this card code:

- type: custom:thermostat-card
  entity: climate.living_room_thermostat
  title: Thermostaat

The Lovelace frontend shows a red rectangle with above code and the warning: No card type configured.

plissje commented 4 years ago

3rd on this one, same error.

fineemb commented 4 years ago

Is it a HACS configuration problem?

The /community_plugin endpoint that was used for lovelace elements has been removed, it was replaced by /hacsfiles.

konnectedvn commented 4 years ago

HACS issue. You have to add it to lovelace resource manually. Go to Configurations > Lovelace Dashboards > Resources > Add > /hacsfiles/lovelace-thermostat-card/main.js

the0ckid82 commented 4 years ago

i have tried this but it is still giving the same error Cannot read property 'setConfig' of undefined also my main.js file is located at /www/community/lovelace-thermostat-card/main.js , i do not have a hacsfile dir in /config

konnectedvn commented 4 years ago

It's in the right place. /hacsfiles means /www/community.

Scope666 commented 3 years ago

Same problem as everyone else, path is correct under Resources.

image

image

Xites commented 3 years ago

Same problem as everyone else, path is correct under Resources.

image

image

Try without indent. That worked for me. Just like this:

type: custom:thermostat-card
entity: climate.downstairs
small_i: true
title: test