wichers / lovelace-comfoair

Homeassistant Lovelace Comfoair card
MIT License
18 stars 25 forks source link

Cannot add comfoair-card #6

Open philippe-tc opened 3 months ago

philippe-tc commented 3 months ago

It would be nice if the installation instructions were a little more in detail, including some clear examples. I'm afraid I forget something or do something wrong.

What I did:

Now the dashboard says: Custom element doesn't exist: comfoair-card.

What do I do wrong?

/config/lovelace-ui.yaml:

resources: - type: module url: /config/www/lovelace-comfoair/comfoair-card.js

(2nd line has 4 leading spaces)

lovelace-ui yaml 2024-07-17 om 18 23 12

Changing /config/www/lovelace-comfoair/comfoair-card.js to /homeassistant/www/lovelace-comfoair/comfoair-card.js doesn’t help (both lead to the same directory).

Kaartconfiguratie 2024-07-17 om 18 24 17

RESULT: No comfoair-card 2024-07-17 om 18 13 48

kupecroman commented 1 month ago

HI I have the same problem. Did you manage to get it working? Thanks.

philippe-tc commented 1 month ago

Unfortunately not. I have no idea where to look. I thought I’ve done everything conform instructions. Maybe something is missing in the instructions?

kupecroman commented 1 month ago

Me neither. I will keep trying and let you know if I manage to solve the problem.

takacsgf commented 1 month ago

same problem here.. Tried a lot of things but no luck so far :(

kupecroman commented 1 month ago

@wichers Do you have any tips for us please?

takacsgf commented 1 month ago

I moved to distribution [yoziru] [esphome-zehnder-comfoair] dist. That one works like a charm.

philippe-tc commented 1 month ago

I moved to distribution [yoziru] [esphome-zehnder-comfoair] dist. That one works like a charm.

@takacsgf Can you please explain what you mean here? Did you install another version and if so, where does it come from? Or did you move it to another directory and if so, what directory exactly?

Thnx4hlp 👍

kupecroman commented 1 month ago

I moved to distribution [yoziru] [esphome-zehnder-comfoair] dist. That one works like a charm.

Thanks I will check it out. 👍

wichers commented 1 month ago

I've checked my own HA config. I might have forgotten to update the readme. After adding the .js file to your config folder as in the readme, add the resource:

  1. Settings -> Dashboards -> Resources -> Add Resource
  2. /local/lovelace-comfoair/comfoair-card.js

Add the card by adding a custom card to your dashboard: _type: custom:comfoair-card entity: climate.esphome_xx_xx_xx_xx_xx_xxclimate (your entity)