core: Flu Near You has changed to Oubreaks Near Me (including a new API)
The problem
I’ve started seeing the logs below – need to determine if it’s a temporary issue on their side or if something has changed in the API.
What version of Home Assistant Core has the issue?
core-2022.7.0b4
What was the last working version of Home Assistant Core?
Unknown
What type of installation are you running?
Home Assistant Container
Integration causing the issue
Flu Near You
Link to integration documentation on our website
https://www.home-assistant.io/integrations/flunearyou/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Logger: homeassistant.components.flunearyou
Source: components/flunearyou/__init__.py:43
Integration: Flu Near You (documentation, issues)
First occurred: 12:07:43 PM (7 occurrences)
Last logged: 12:15:43 PM
Unexpected error fetching user_report (REDACTED, REDACTED) data: min() arg is an empty sequence
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 205, in _async_refresh
self.data = await self._async_update_data()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 164, in _async_update_data
return await self.update_method()
File "/usr/src/homeassistant/homeassistant/components/flunearyou/__init__.py", line 43, in async_update
data = await client.user_reports.status_by_coordinates(
File "/usr/local/lib/python3.10/site-packages/pyflunearyou/user.py", line 17, in status_by_coordinates
return await self.nearest_by_coordinates(latitude, longitude)
File "/usr/local/lib/python3.10/site-packages/pyflunearyou/helpers/report.py", line 51, in nearest_by_coordinates
nearest_user_report = get_nearest_by_coordinates(
File "/usr/local/lib/python3.10/site-packages/pyflunearyou/helpers/geo.py", line 14, in get_nearest_by_coordinates
return min(
ValueError: min() arg is an empty sequence
Additional information
No response
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 15 (10 by maintainers)
Yeah, it looks like they realized they screwed everyone by shutting off the old api 😃