Cant use custom:garbage-collection-card

I have downloaded both garbage collection integration and the garbage collection card but then I go to add the card I cant seem to find or use it. I can see the files for the card in /config/.storage

you probably have to use the “manual” yaml editor.
Many of the custom cards don’t have a UI editor - so you need to create the card by using the yaml-editor

 - type: custom:garbage-collection-card
   entity: sensor.selective_waste
   icon_size: 35px
   icon_color: green
   hide_date: true
 - type: custom:garbage-collection-card
   entity: sensor.waste
   hide_before: 4
   icon_color: '#0561ba'

Sadly I still get this error.

Have you tried it in the way as shown in my Screenshot?

Have you created the garbage collection helper? You need to create one (or more) before you will be able to use the card.

Also, you will need to have restarted (for the integration to be picked up) and force a refresh of the UI for the card to properly be picked up

And before that if you have installed from HACS, then you might only installed the integration in HA’s list of integrations. You still might need to install the integration in HA itself.

I have downloaded the hacs integration and the front end card integration for this.

the card shows up in my www folder and I also have the integration in my dashboard resourses (URL) I was able to create helpers easily but when i go to input the manual card code and change the sensors to my helper i continue to get a no card type configured.

I have exactly the same issue and have completed all the pre-requisite steps…

Maybe the card have no visual editor available.
It looks like you can still save it though.

I am stuck at the same point as you, getting the same error message:

No card type configured

  • type: custom:garbage-collection-card.

Here I found that someone recommends adding to the configuration.yaml:

resources:
- {type: js, url: ‘/local/community/garbage-collection-card/garbage-collection-card.js’}

Change the URL to my actual folder name, the JS file is there.

/www/community/garbage-collection-card/garbage-collection-card.js

The YAML check is flags this as an error:

Integration error: resources - Integration ‘resources’ not found.

Any ideas what I am still missing?

Thanks.

I had this working for about 2 years. Stopped working with HA 2023.5

Good to know! What error message are you getting? @Spiro

Sorry can’t remember the error. I had read there was a problem last week, so once I updated and saw it didn’t work I swapped over to HA calendar. It was painless. I didn’t spend any time trying to get custom garbage to work. Perhaps I should have tried.

Wait, are you saying that HA calendar has a way to retreive garbage collection schedules from the the waste collection companies?

If yes, could you please share a link that explains how?

Sorry for causing confusion. My garbage collection is very simple. One week general waste and next week recycling. I just get it to repeat. Each one every 2 weeks.

Got it, thanks for the clarification.