timer-bar-card icon indicating copy to clipboard operation
timer-bar-card copied to clipboard

Custom Element Doesn't exist: timer-bar-card

Open bschollnick opened this issue 3 years ago • 1 comments
trafficstars

Describe the bug

I installed via HACS, and I see the frontend integration in HACS, but I am receiving the error "Custom Element doesn't exist: timer-bar-card".

Your card configuration

type: entities
entities:
  - entity: timer.entrance_hallway_lights_timer
    type: custom:timer-bar-card

Debug information Please add debug: true to your configuration and either take a screenshot or paste the output here!

Sorry, relatively new to HomeAssistant. I'm moving from 25 years on a different home automation platform.

  • time-bar-card.js & time-bar-card.js.gz exists in /config/www/community/time-bar-card, that differs from the manual install instructions?

  • advanced mode is enabled

  • under Settings -> Dashboard -> Resources, I see: /hacsfiles/timer-bar-card/timer-bar-card.js?hacstag=376904517118 JavaScript Module

  • I have rebooted home assistant, and still do not see any change?

I'm open to suggestions....and pointers in helping get this working...

bschollnick avatar Jun 19 '22 14:06 bschollnick

Welcome to HomeAssistant! I would double check the developer console in the browser.

Once you open it up, you should see some messages. Here there is a message from both the timer bar and mini graph cards as I have both installed. Do you see the timer bar card message, or are there any errors?

image

rianadon avatar Jun 21 '22 00:06 rianadon

Hi, I have the same problem image

Home Assistant 2023.6.3 Supervisor 2023.06.4 Operating System 10.3 Frontend 20230608.0 - latest

Dexter0007 avatar Jun 30 '23 20:06 Dexter0007

Hi @Dexter0007. Do you have the same files as the OP listed under Settings -> Dashboard -> Resources?

Also, do you see the timer bar card message in the developer console?

rianadon avatar Jul 01 '23 17:07 rianadon

Hi @Dexter0007. Do you have the same files as the OP listed under Settings -> Dashboard -> Resources?

Also, do you see the timer bar card message in the developer console?

Hi, yes I have file in resources: /hacsfiles/timer-bar-card/timer-bar-card.js?hacstag=3769045171282 I'm checking now and today it's working good. I don't changed anything, same dashboard and same entity but today working...

Dexter0007 avatar Jul 01 '23 18:07 Dexter0007

That's great to hear! That probably means it'll work in the future, but let me know if the card goes away.

The dashboard plugin system is a little finicky at times due to the browser trying to cache the pages to speed up loading them. Sometimes it'll take a few refreshes before a plugin loads for the first time.

rianadon avatar Jul 01 '23 18:07 rianadon