briis / affalddk

Home Assistant Integration to retrieve Garbage Collection data from danish Municipalities
MIT License
21 stars 5 forks source link

Garbage type not defined #64

Closed c957031 closed 5 months ago

c957031 commented 5 months ago

Describe the issue

My log contains this info: 2024-04-01 22:37:16.474 WARNING (MainThread) [pyaffalddk.api] Garbage type [Miljøboks] is not defined in the system. Please notify the developer

What version of Home Assistant Core has the issue?

core-2024.3.3

What was the last working version of Home Assistant Core?

core-2024.3.3

What type of installation are you running?

Home Assistant OS

What version of the integration are you using?

v2.1.0

Diagnostics information

All references to affalddk in log:

2024-04-02 14:36:59.868 WARNING (SyncWorker_5) [homeassistant.loader] We found a custom integration affalddk 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 2024-04-02 14:37:03.309 INFO (MainThread) [homeassistant.bootstrap] Setting up stage 2: {'application_credentials', 'esphome', 'tag', 'stt', 'trace', 'file_upload', 'person', 'mobile_app', 'schedule', 'met', 'stream', 'counter', 'group', 'eforsyning', 'nanoleaf', 'scheduler', 'blueprint', 'input_select', 'wake_word', 'lovelace', 'conversation', 'homeassistant_alerts', 'template', 'systemmonitor', 'history', 'persistent_notification', 'script', 'map', 'hardware', 'cast', 'repairs', 'watchman', 'energy', 'climate', 'version', 'input_boolean', 'easee', 'search', 'default_config', 'sun', 'novafos', 'unifi', 'samsungtv', 'dlna_dmr', 'scene', 'media_source', 'command_line', 'input_button', 'assist_pipeline', 'analytics', 'sonos', 'timer', 'input_text', 'aula', 'ffmpeg', 'diagnostics', 'affalddk', 'landroid_cloud', 'uptime', 'config', 'device_automation', 'mqtt', 'image_upload', 'tts', 'zone', 'onboarding', 'logbook', 'ipp', 'automation', 'input_number', 'input_datetime', 'hacs', 'airthings', 'my', 'system_health', 'backup', 'ping', 'shelly', 'auth', 'energidataservice'} 2024-04-02 14:37:03.604 INFO (MainThread) [homeassistant.setup] Setting up affalddk 2024-04-02 14:37:03.604 INFO (MainThread) [homeassistant.setup] Setup of domain affalddk took 0.0 seconds 2024-04-02 14:37:08.050 WARNING (MainThread) [pyaffalddk.api] Garbage type [Miljøboks] is not defined in the system. Please notify the developer 2024-04-02 14:37:08.051 DEBUG (MainThread) [custom_components.affalddk] Data fetched 2024-04-02 14:37:08 2024-04-02 14:37:08.051 DEBUG (MainThread) [custom_components.affalddk] Finished fetching affalddk data in 3.484 seconds (success: True) 2024-04-02 14:37:08.060 INFO (MainThread) [homeassistant.components.sensor] Setting up affalddk.sensor 2024-04-02 14:37:08.094 INFO (MainThread) [homeassistant.components.calendar] Setting up affalddk.calendar

Anything in the logs that might be useful for us?

No response

Additional information

A great thanks to the developer for doing this integration. If I can be of any help testing a possible patch, let me know. BTW: My Municipality is Gentofte... /D

briis commented 5 months ago

Tap for input. Jeg kan se det er Miljøboks du mangler. Den type enhed betyder mange forskellige ting i forskellige kommuner. Hvad kommer du i boksen? Farligt affalt, batterier, småelektronik? Eller hvad?

c957031 commented 5 months ago

Hej, på kommunens hjemmeside står der: Miljøboksen til farligt affald, fx rengøringsmidler og malingrester, Småt elektronik, fx en udtjent mobiltelefon eller en lyskæde. Miljøboksen er også til skår af porcelæn, keramik og lign. mvh D

briis commented 5 months ago

Tak. Jeg har nu lagt den ind og den kommer til at hedde Farligt affald & Miljøboks

briis commented 5 months ago

Closed with v2.1.1

c957031 commented 5 months ago

Hej, Måske gør jeg noget forkert, men umiddelbart ser jeg fortsat den samme besked (Garbage type [Miljøboks] is not defined) Mvh D

briis commented 5 months ago

Har du opdateret til V2.1.1? Hvis du har, så send mig gerne din adresse på bjarne@briis.com så prøver jeg lige og se hvorfor det ikke virker.