Skip to content

[Bug]: State "unknown" #2035

Description

@Maddog8902

I Have A Problem With:

The integration in general

What's Your Problem

Since 5 days the Integration shows in every sensor that the state ist "unknown".
It works for a few months and didnt changed anything on the integration.

Source (if relevant)

de.k4systems.abfallappmyk

Logs

2024-04-29 17:26:50.344 ERROR (SyncWorker_1) [waste_collection_schedule.source_shell] fetch failed for source Apps by Abfall+:
Traceback (most recent call last):
File "/config/custom_components/waste_collection_schedule/waste_collection_schedule/source_shell.py", line 134, in fetch
entries = self._source.fetch()
^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/waste_collection_schedule/waste_collection_schedule/source/app_abfallplus_de.py", line 140, in fetch
for d in self._app.generate_calendar():
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/waste_collection_schedule/waste_collection_schedule/service/AppAbfallplusDe.py", line 786, in generate_calendar
self.select_kommune()
File "/config/custom_components/waste_collection_schedule/waste_collection_schedule/service/AppAbfallplusDe.py", line 502, in select_kommune
raise Exception(f"Region {self._region_search} not found.")
Exception: Region Mendig not found.

Relevant Configuration

# MuellKalender
waste_collection_schedule:
    sources:
    - name: app_abfallplus_de
      args:
        app_id: de.k4systems.abfallappmyk
        city: Mendig
        strasse: Alle Straßen
      customize:
       - type: Restabfall
         alias: rest
         icon: mdi:trash-can
       - type: Gelber Sack
         alias: gelbersack
         icon: mdi:recycle
       - type: Bioabfall
         alias: bio
         icon: mdi:bio
       - type: Papierabfall
         alias: papier
         icon: mdi:PackageVariant

Checklist Source Error

  • Use the example parameters for your source (often available in the documentation) (don't forget to restart Home Assistant after changing the configuration)
  • Checked that the website of your service provider is still working
  • Tested my attributes on the service provider website (if possible)
  • I have tested with the latest version of the integration (master) (for HACS in the 3 dot menu of the integration click on "Redownload" and choose master as version)

Checklist Sensor Error

  • Checked in the Home Assistant Calendar tab if the event names match the types names (if types argument is used)

Required

  • I have searched past (closed AND opened) issues to see if this bug has already been reported, and it hasn't been.
  • I understand that people give their precious time for free, and thus I've done my very best to make this problem as easy as possible to investigate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions