Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HACS support would be awesome #2

Open
georgbachmann opened this issue Apr 8, 2020 · 6 comments
Open

HACS support would be awesome #2

georgbachmann opened this issue Apr 8, 2020 · 6 comments

Comments

@georgbachmann
Copy link

It would make installation but foremost updates much much easier.
Do you consider adding support to install this card via HACS?
Cheers,
Georg

@lukevink
Copy link
Owner

Hey good point! Haven't done that before, curious how. Theres definately alot to improve on this, found a much better solution for graphs (tried like 5 different libraries). So might update it and submit it soon.

@georgbachmann
Copy link
Author

I can't really help you here :) sorry... I am just a home-assistant user with little experience.. sorry...
But your card looks really cool! :)

@lukevink
Copy link
Owner

Submitted it to HACS! Waiting for them to approve it's addition.

@marti28
Copy link

marti28 commented Apr 19, 2020

It's in HACS! :)

_However, I added it with the example code:
type: 'custom:buien-rain-forecast'
fillColor: 'rgba(89, 160, 238, 0.2)'
icon: 'mdi:weather-rainy'
lat: 52.3667
lineColor: 'rgba(89, 160, 238, 1)'
long: 4.8945
update_interval: 10

It gets me this error: Custom element doesn't exist: buien-rain-forecast.

I checked the code if there was an obvious thing I missed and did a restart of Home Assistant as well, but no luck. Any thoughts?_

Nevermind; after a forced refresh (ctrl+f5) it seems to work.

@rschuiling
Copy link

rschuiling commented Jun 1, 2020

In HACS, it seems to display incorrect information about some other plugin. Very strange:

image

Edit: it seems your info.md contains this (incorrect) information. Perhaps you can change that?

@pvmil
Copy link

pvmil commented Aug 19, 2020

type: 'custom:buien-rain-forecast'
fillColor: 'rgba(89, 160, 238, 0.2)'
icon: 'mdi:weather-rainy'
lat: 52.3667
lineColor: 'rgba(89, 160, 238, 1)'
long: 4.8945
update_interval: 10

I used this exact config (after installing from HACS and restarting HA and ctrl+F5 foced refresh) and get the same error:
"Custom element doesn't exist: buien-rain-forecast."

--EDIT: Fixed by adding the resource '/hacsfiles/lovelace-buien-rain-card/buien-rain-card.js' to my lovelace config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants