thebino / rki_covid

🦠 Custom integration for Home Assistant to monitor covid numbers provided by Robert-Koch Institut
Apache License 2.0
40 stars 11 forks source link

Cannot add LK Altötting #85

Closed Manu00 closed 2 years ago

Manu00 commented 2 years ago

🐛 Describe the bug

I added sensors for Germany, Bayern and an other LK but when I try to add "LK Altötting" it will always fail with a simple "Abgebrochen".

**💥 When did the bug occurred.***

👣 To Reproduce

Steps to reproduce the behavior:

  1. Go to 'Settings'
  2. Click on 'Add Integration'
  3. Select 'LK Altötting'
  4. See error

🧐 Expected behavior

Should add sensors like all other regions

💻 Versions (please complete the following information):

🗄 Logfiles (Configuration > Logs)

cannot find relevant log info

thebino commented 2 years ago

It cannot be reproduced. Please provide additional information. Follow these instructions to get more detailed logs.

2022-03-21 19:54:58 DEBUG (MainThread) [custom_components.rki_covid.config_flow] User triggered configuration flow via UI. user_input: {'county': 'LK Altötting'}
2022-03-21 19:54:58 DEBUG (MainThread) [custom_components.rki_covid.config_flow] Create entry from Configuration UI
2022-03-21 19:54:58 INFO (MainThread) [homeassistant.setup] Setting up rki_covid
2022-03-21 19:54:58 DEBUG (MainThread) [custom_components.rki_covid] setup component.
2022-03-21 19:54:58 DEBUG (MainThread) [custom_components.rki_covid] initialize the data coordinator.
2022-03-21 19:54:58 INFO (MainThread) [homeassistant.setup] Setup of domain rki_covid took 0.0 seconds
2022-03-21 19:54:58 DEBUG (MainThread) [custom_components.rki_covid] Setup item from config entry: {'county': 'LK Altötting'}.
2022-03-21 19:54:58 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.rki_covid
2022-03-21 19:54:58 DEBUG (MainThread) [custom_components.rki_covid.sensor] create sensor from config entry {'county': 'LK Altötting'}
2022-03-21 19:54:58 DEBUG (MainThread) [custom_components.rki_covid] initialize the data coordinator.
2022-03-21 19:54:58 DEBUG (MainThread) [custom_components.rki_covid.sensor] initialize count sensor for LK Altötting
2022-03-21 19:54:58 DEBUG (MainThread) [custom_components.rki_covid.sensor] initialize deaths sensor for LK Altötting
2022-03-21 19:54:58 DEBUG (MainThread) [custom_components.rki_covid.sensor] initialize recovered sensor for LK Altötting
2022-03-21 19:54:58 DEBUG (MainThread) [custom_components.rki_covid.sensor] initialize weekIncidence sensor for LK Altötting
2022-03-21 19:54:58 DEBUG (MainThread) [custom_components.rki_covid.sensor] initialize casesPer100k sensor for LK Altötting
2022-03-21 19:54:58 DEBUG (MainThread) [custom_components.rki_covid.sensor] initialize newCases sensor for LK Altötting
2022-03-21 19:54:58 DEBUG (MainThread) [custom_components.rki_covid.sensor] initialize newDeaths sensor for LK Altötting
2022-03-21 19:54:58 DEBUG (MainThread) [custom_components.rki_covid.sensor] initialize newRecovered sensor for LK Altötting
2022-03-21 19:54:59 DEBUG (MainThread) [custom_components.rki_covid] fetch data from rki-covid-parser.
2022-03-21 19:54:59 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.rki_covid entity: sensor.lk_altotting_deaths
2022-03-21 19:54:59 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.rki_covid entity: sensor.lk_altotting_recovered
2022-03-21 19:54:59 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.rki_covid entity: sensor.lk_altotting_weekincidence
2022-03-21 19:54:59 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.rki_covid entity: sensor.lk_altotting_casesper100k
2022-03-21 19:54:59 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.rki_covid entity: sensor.lk_altotting_newcases
2022-03-21 19:54:59 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.rki_covid entity: sensor.lk_altotting_newdeaths
2022-03-21 19:54:59 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.rki_covid entity: sensor.lk_altotting_newrecovered
Screenshot 2022-03-21 at 20 56 33
Manu00 commented 2 years ago

I tried to readd the integration but now I cannot remove it the error says that it's already configured but I removed every part of it from the gui as well as the configuration.yaml. Is there any way to remove it safely without wiping everything?

thebino commented 2 years ago

Sounds like your HA is not working properly, have you tried to restart it and updated it to the latest version?

Manu00 commented 2 years ago

Yeah I figured that, as I tried everything except a full wipe and it seems I'm the only one with this issue maybe it's the best to close this issue.