Closed droans closed 2 days ago
Hey there @bachya, mind taking a look at this issue as it has been labeled with an integration (iqvia
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
iqvia documentation iqvia source (message by IssueLinks)
Wanted to throw my hat in here with this issues at well
The problem
IQVIA is running into issues loading the asthma index sensors with this section of code. It looks like the issue first started appearing 7/16.
This seems to be an issue with IQVIA itself. When I use the pyiqvia client or the Python requests module to load the data myself, I receive data which is inconsistent with the rest of the endpoints. The IQVIA and Asthma Forecast websites both seem to be having issues which are possibly related. I don't believe anything can be done by HA at this time.
For the current (today) data, I receive no data under periods.
For the extended (tomorrow) data, it appears the data is both stale (today is 7/19 and it returns data from 7/15-7/19) and it is missing the
Type
key which lists the date.Current asthma forecast:
Returns
ValueError
due to the missing data.Extended asthma forecast:
Returns
TypeError
but is handled by the code.What version of Home Assistant Core has the issue?
2024.7.2
What was the last working version of Home Assistant Core?
2024.7.2
What type of installation are you running?
Home Assistant Container
Integration causing the issue
IQVIA
Link to integration documentation on our website
https://www.home-assistant.io/integrations/iqvia
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
No response