home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.7k stars 30.45k forks source link

Coronavirus integration not working correctly #32443

Closed Jsreb closed 4 years ago

Jsreb commented 4 years ago

The problem

I am currently using "US", "worldwide", and "China Mainland" locations from the coronavirus integration.

My sensors indicate that China's confirmed and current cases are both 1 while deaths and recoveries are both 0. For the US, confirmed is 21, current is 16, deaths 0, and recoveries 5.

These sensors were all correct about 7 hours ago and started showing incorrect results 3-4 hours ago. Worldwide is still correct. I haven't tried other locations.

Environment

Home Assistant (HASSIO) 0.106.3

Problem-relevant configuration.yaml

Traceback/Error logs

Additional information

Jsreb commented 4 years ago

Ok just discovered something. The China sensors have somehow changed to Dominican Republic sensors and US changed to UAE. I did modify the entity IDs for the sensors, so that may have caused an issue. The correct information is returned once I delete and re-add the integrations. This time, I've changed the entity IDs for US but not for China to see if the issue occurs again with modified IDs.

frenck commented 4 years ago

This issue has been fixed in Home Assistant 0.106.4.