Giter Club home page Giter Club logo

Comments (8)

jhemak avatar jhemak commented on August 30, 2024 1

OK - thank you

from core.

bachya avatar bachya commented on August 30, 2024 1

Based on the error you received, I would bank on overall API flakiness. Should hopefully resolve on its own soon.

from core.

home-assistant avatar home-assistant commented on August 30, 2024

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!

Code owner commands

Code owners of iqvia can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign iqvia Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


iqvia documentation
iqvia source
(message by IssueLinks)

from core.

bachya avatar bachya commented on August 30, 2024

You are receiving an HTTP 500 response. See this issue for more info: #35712

from core.

jhemak avatar jhemak commented on August 30, 2024

Just to circle back here, I am seeing most sensors populated in HA as expected. However there are attributes like "season" on sensor.iqvia_allergy_index_forecasted_average that are missing entirely whereas they were there a few days ago. Do you think it's still the same root cause as the issue you referenced, or might they have changed their API and are no longer providing certain fields?

from core.

jhemak avatar jhemak commented on August 30, 2024

You are correct that the HTTP errors did self-resolve. However, I am now seeing two sensors failing to load, which I've not seen in the past -- do you think this is still something that will sort itself out? Looks related to #32143

Error adding entity sensor.iqvia_asthma_index_today for domain sensor with platform iqvia
Error adding entity sensor.iqvia_asthma_index_tomorrow for domain sensor with platform iqvia

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 598, in _async_add_entities
    await coro
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 912, in _async_add_entity
    await entity.add_to_platform_finish()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1361, in add_to_platform_finish
    await self.async_added_to_hass()
  File "/usr/src/homeassistant/homeassistant/components/iqvia/__init__.py", line 156, in async_added_to_hass
    self.update_from_latest_data()
  File "/usr/src/homeassistant/homeassistant/components/iqvia/sensor.py", line 247, in update_from_latest_data
    [period] = [p for p in data["periods"] if p["Type"] == key]  # type: ignore[index]
    ^^^^^^^^
ValueError: not enough values to unpack (expected 1, got 0)

from core.

bachya avatar bachya commented on August 30, 2024

Could be an issue on their end or could be an API change. Please open a new issue (and provide debug-level logs); I'll be happy to investigate!

from core.

jhemak avatar jhemak commented on August 30, 2024

I wanted to give it a few more days to see if it self-resolved. It has not, so I was about to create a new issue ... only to find that @droans beat me to it with #122186

from core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.