Olen / lovelace-flower-card

Lovelace Flower Card to match the custom plant integration

Home Page:https://github.com/Olen/homeassistant-plant/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

custom element doesn't exist

aebgit opened this issue · comments

I have added the repo https://github.com/Olen/homeassistant-plant, installed it and configured some plant. This works fine and plants are shown as devices now.

However I fail to add the corresponding card in Lovelace.

  • I have added this repo to HACS, type frontend
  • have installed the HACS frontend "Flower Card", no problem so far
  • however, when I add it to a Lovelace dashboard, it is not shown in the list of available cards and when i add it manually via YAML, an error is shown instead of the card "custom element doesn't exist". This is the card-code i inserted (as card, not in the full yaml):
type: custom:flower-card
entity: plant.strelitzie
show_bars:
  - humidity
  - temperature
battery_sensor: sensor.strelitzie_battery

Homeassistant:

Home Assistant 2023.8.4
Supervisor 2023.09.0
Operating System 10.5
Frontend 20230802.1 - latest

I have already tried several re-installations of the card, incl. several full reboots.
Any ideas what is going wrong here?
(I use quite some HACS frontend cards and never had this problem before.)

Thanks in advance!
-aebgit-

commented

Have you added the card as a resource?
You probably also need to refresh the frontend (and possibly clear the browsercache) for it to show up.

Didn't add it manually, because I installed via HACS, however just double-checked and the ressource-entry is indeed there.
I have already tried different clients (Homeassistant app and iOS Safari) and of course cleared browser-cache.

solved

I'm using PiHole as local DNS and there seems to be an ongoing issue with resolving Github servers (home-assistant/core#99862).
When I disable PiHole on Homeassistant and locally on the client, your card works perfectly after having it re-installed.