Customising the BOM Weather and lovelace - now in HACS

Post your card config and yaml for the templates etc… (weather.yaml if you use my package). Also PM me your lat/long so I can run up your config in my dev VM.

I’ll drop it into my dev system first… It’s not a 100% replica of my daily driver

No worries but it’s not the card it’s something else…


I get no errors on a fresh instance with my prod snapshot restored into it, but I get this in my logs on my prod system.

I’ve compared my weather.yaml, and I’ve got quite an old one compared to what’s on github, so will replace mine when I’m more awake tomorrow…

edit: works fine with an ingognito browser… argh… I’m going to bed :confounded:

1 Like

It has to be caching

So I ran up your lovelace yaml and also added your location into my BOM integration.


There is a console error but it’s not being caused by my card and Balloob said to ignore it…

CHECK ALSO in the console above
image
That is the version that is loaded (not just the version HACS tells you is the latest). It’s either caching or an old version causing the error you are seeing.

Just regarding the minimum, BOM zeros out the min_0 around 4am every day (this is why I use Template Sensors) and the fire_danger is often unknown in the autumn/Winter/Spring months as it’s not published.

1 Like

Thanks for the looking into it, have it all working again thanks

1 Like

OK I have just done a minor rebranding of this card to stop referring to it as BOM - You will see it in HACS now as
Custom Animated Weather Card
I released this as version 0.90. There are no other changes.

3 Likes

No need to change the type though?

type: custom:bom-weather-card

Yeah no need… I didn’t rename the js file as that would mean too many other issues. Just changed the description and title in hacs
image

1 Like

Hi,
I have installed the bom custom component and the custom card. Is there a simple tutorial on how to setup the card? I tried to follow the instructions GitHub but I’m lost…

Getting a bit lost with the instructions here in the repo DavidFW1960/bom-weather-card

Steps 1 and 2 under configuration do not make sense to me.

I tried putting the resources: lines into my configuration.yaml and it says “Component error: resources - Integration ‘resources’ not found.”

You don’t add resources like that!
Is this the first custom card you have used? Have you tried using HACS? I am away at the moment and I can’t hold your hand through this - that is what the readme doc is for. This is not rocket science unless this is your first custom card or you are very new to HA…

Hi,

I am new to HA.

I’ve done a couple custom cards so far using mostly templates. Hacs is installed and I used it to install your repository.

I’m just finding step 1 and 2 unclear so I must have not come across some common things yet.

If you used HACS then it would have added the resources for you automatically.

Which weather provider are you using? If you have setup that then you need to configure Lovelace for the card and there is an example Lovelace card to do that. Once you get the basics working you can add some of the extra template sensors etc

You are right it was added automatically. Earlier thismorning I googled how to add resources properly.

Turns out I had done it a few times already over the weekend just didn’t remember. As I said, very new to this.

I added it manually before I saw your post so I’ve deleted the second one now.

Confusion came from a missing full stop I think. No offence just caught me out sorry.

The sentence:

Add the card reference to resources If you installed using HACS, the resources should be updated automatically

Made me think it was saying add it if you installed using hacs and then it will update in the future automatically.

I’ve installed the BOM forecast that’s seems to be the current go to. Will continue to work on it over the week. Thanks

I’m always open to improving the docs and no offence taken.
I just checked on GitHub and don’t find that part ambiguous…

OK 0.90a released.
I include some screenshots around clearing cache and show the lovelace card-picker. Also fixed the rebranding for that.
2021.6.x also seemed to shift the small icons so I think I have appropriately corrected that.

1 Like