custom-cards / canvas-gauge-card

The card makes it possible to use gauges from https://canvas-gauges.com/
173 stars 25 forks source link

Not working in Home Assistant 0.106.5 #21

Closed kmacena closed 4 years ago

kmacena commented 4 years ago

From developer logs: /lovelace/home:0:0 Uncaught TypeError: Failed to resolve module specifier "canvas-gauges". Relative references must start with either "/", "./", or "../". From Lovelace UI: Cannot read property 'setConfig' of undefined. Downloaded RAW version from GIT.

HFsi commented 4 years ago

Same here. Installed through HACS. Error: Cannot assign to read only property 'borderShadowWidth' of object '#'

plutosherry commented 4 years ago

same error in HA106.6

opep commented 4 years ago

Same here. Since 0.106 some changes were made to the code which affect custom cards: https://developers.home-assistant.io/blog/2020/02/18/106-custom-card-changes.html

helto4real commented 4 years ago

You guys still have same issue? Also please check you configured correctly...

lovelace:
  mode: yaml
  resources:
     - url: /local/custom_cards/canvas-gauge-card.js
       type: module

This is done int configuration.yaml please check

HFsi commented 4 years ago

I´ve never used lovelace in yaml mode, but in managed mode and the custom card installed through HACS, works fine

helto4real commented 4 years ago

Thanks for reporting back @HFsi

kmacena commented 4 years ago

Working good in version 0.108.6. You can close the issue. I recommend upgrading HASS and install it using HACS .

helto4real commented 4 years ago

Thanks!