Custom component Afvalbeheer - Support for multiple waste collectors

I installed afvalbeeheer component years ago and regularly update when I notice in HACS. However I now notice that 2 key sensors of this integration are not available anymore; sensor.gad_morgen and sensor.gad_vandaag.

Have these been removed from the integration? Any chance to get them back?

They are not removed. Please create an issue in the Github repo.

Do you have any errors in your log?
What is the config of your sensor?

@Pippyn forgot to post solution. It seems they have been renamed from dutch to english. So now they are sensor.gad_today vs sensor.gad_vandaag. I guess this change has been made in the past and only found out now due to finally updating via HACS

1 Like

this stopped working recently, Anyone else having that issue ? All sensors show unknown.
I did install latest version manually but still the same.

What garbage provider?

Could you please open an issue on the Github repo?
Don’t forget to include your config and an address in your neighbourhood.

1 Like

It’s recycleapp this is the code in my YAML sensor file

- platform: afvalbeheer
  wastecollector: RecycleApp
  resources:                       
    - restafval
    - glas
    - papier
    - pmd
  postcode: 1700
  streetname: XXXXXXXXXXXXX          
  streetnumber: XXXXXX 
  printwastetypes: 0
  upcomingsensor: 1                #(optional)
  dateformat: '%d %b'           #(optional)
  dateonly: 0                      #(optional)
  dayofweek: 1
  nameprefix: 1                    #(optional)
  builtinicons: 1                  #(optional)
  dutch: 1                         #(optional)

RecycleApp still working fine over here.

On github please, with an address (doesn’t have to be yours). Otherwise I can not help you

Sorry, here is with address

- platform: afvalbeheer
  wastecollector: RecycleApp
  resources:                       
    - restafval
    - glas
    - papier
    - pmd
  postcode: 1701
  streetname: Plankenstraat          
  streetnumber: 103
  printwastetypes: 0
  upcomingsensor: 1                #(optional)
  dateformat: '%d %b'           #(optional)
  dateonly: 0                      #(optional)
  dayofweek: 1
  nameprefix: 1                    #(optional)
  builtinicons: 1                  #(optional)
  dutch: 1                         #(optional)

This config is working fine. Do you have any errors in your logs?

No only this warning which was there all the time

2022-12-07 12:11:19.776 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration afvalbeheer which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

When I click on the entity in the layout I get this message

Deze entiteit is niet meer beschikbaar vanuit de afvalbeheer integratie. Wanneer de entiteit niet meer in gebruik is, kan deze vanuit de instellingen verwijderd worden.

Could it be that de device name has changed?
If you look at the entities in HA can you find the sensors?
Open your Home Assistant instance and show your entities.

I would like to be able to access via my mushroom interface on the day that the container has to be on the road by means of a chip card (only the icon) to see which container should be placed on the road. Does anyone here have an idea how to get this done?

For one of the other reason I can’t seem to find a solution to print the custom icons.
I’m quite new to Home Assistant, so that might be the cause :slight_smile:

Below is the code I’ve put into my configuration.yaml file, it works as designed, but in my entities, I don’t see the integration-specific icons. Any help would be appreciated!

type: custom:auto-entities
card:
  type: entities
entities:
  - sensor.recycleapp_vandaag
  - sensor.recycleapp_morgen
  - sensor.recycleapp_pmd
  - sensor.recycleapp_papier
  - sensor.recycleapp_gft
  - sensor.recycleapp_restafval
sort:
  method: attribute
  attribute: Sort-date

afvalbeheer:
  - wastecollector: Recycleapp
    resources:
      - restafval
      - gft
      - papier
      - pmd
    postcode: Hidden
    streetnumber: Hidden
    streetname: Hidden
    upcomingsensor: 1
    dateonly: 0
    dateobject: 0
    nameprefix: 1
    builtinicons: 1
    disableicons: 0
    dutch: 1
    updateinterval: 12
    dateformat: ‘%A	%d %b’
    dayofweek: 1```

Hello @brggmn,

I tested your config and all is working fine for me. Do you have any errors in your logs?

I do notice you have the wrong type of quotes around your dateformat. Is that on purpose?
And your config ends with ```, which shouldn’t be there.

The quotes in the end are a copy-paste issue I guess :slight_smile:
I’ve adapt the dateformat quotes. But images are still not loading in my config. Maybe I’m missing an integration or some other dependency?

No dependencies needed for the icons.
How about your logs? Any errors?

No errors in logfile or whatsoever. :frowning:

How is your system configured?
What version of HA and the sensor are you using?