pippyn / Home-Assistant-Sensor-Afvalbeheer

Provides Home Assistant sensors for multiple Dutch and Belgium waste collectors
Apache License 2.0
287 stars 87 forks source link

Integration does not show any dates #455

Closed Sweepr closed 9 months ago

Sweepr commented 9 months ago

Integration does not show any data, any idea what i am doing wrong here? It look like this on my dashboard:

image

Yaml code:

type: entities
entities:
  - calendar.afvalbeheer_mijnafvalwijzer
  - sensor.mijnafvalwijzer_first_upcoming
  - sensor.mijnafvalwijzer_gft
  - sensor.mijnafvalwijzer_papier
  - sensor.mijnafvalwijzer_pmd
  - sensor.mijnafvalwijzer_restafval
  - sensor.mijnafvalwijzer_today
  - sensor.mijnafvalwijzer_tomorrow

Configuration.yaml

afvalbeheer:
    wastecollector: MijnAfvalwijzer
    resources:
      - restafval
      - gft
      - papier
      - pmd
    postcode: 1111AB
    streetnumber: 1
    suffix: a                        # (optional)
    upcomingsensor: 1                # (optional)
    dateformat: '%d-%m-%Y'           # (optional)
    dateonly: 0                      # (optional)
    name: ""                         # (optional)
    nameprefix: 1                    # (optional)
    builtinicons: 1                  # (optional)
    dutch: 0                         # (optional)

The card does not look like this:

example

pippyn commented 9 months ago

Do you have an address in your neighborhood for me to test with?

Sweepr commented 9 months ago

Might be related to issue: https://github.com/pippyn/Home-Assistant-Sensor-Afvalbeheer/issues/456

Later I will try first to see if removning a from suffix: a resolves it.

Sweepr commented 9 months ago

I had first removed the a from suffix: a, but that generated an error.

So I totally removed the line suffix: a and now it works!