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
69.26k stars 28.47k forks source link

Tomorrow.io integration doesn't get rain probability for when timesteps is current. #117652

Open danielnolan opened 2 weeks ago

danielnolan commented 2 weeks ago

The problem

Here is the log from my home assistant there is no precipitationProbability shown here and precipitationType is shown twice

2024-05-17 12:56:37.894 DEBUG (MainThread) [pytomorrowio.pytomorrowio] Sending the following payload to tomorrow.io: {'location': '35****722', 'units': 'metric', 'timesteps': ['current'], 'fields': ['temperature', 'humidity', 'pressureSeaLevel', 'windSpeed', 'windDirection', 'weatherCode', 'visibility', 'pollutantO3', 'windGust', 'cloudCover', 'precipitationType', 'pollutantCO', 'mepIndex', 'mepHealthConcern', 'mepPrimaryPollutant', 'cloudBase', 'cloudCeiling', 'cloudCover', 'dewPoint', 'epaIndex', 'epaHealthConcern', 'epaPrimaryPollutant', 'temperatureApparent', 'fireIndex', 'pollutantNO2', 'pollutantO3', 'particulateMatter10', 'particulateMatter25', 'grassIndex', 'treeIndex', 'weedIndex', 'precipitationType', 'pressureSurfaceLevel', 'solarGHI', 'pollutantSO2', 'uvIndex', 'uvHealthConcern', 'windGust']}

Shouldn't we also see precipitation probability here? Seems like precipitation chance is more useful than most of the other attributes here?

Screenshot 2024-05-17 at 1 19 42 PM

What version of Home Assistant Core has the issue?

2024.5.4

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Tomorrow.io

Link to integration documentation on our website

https://www.home-assistant.io/integrations/tomorrowio/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 2 weeks ago

Hey there @raman325, @lymanepp, mind taking a look at this issue as it has been labeled with an integration (tomorrowio) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `tomorrowio` 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 tomorrowio` 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)


tomorrowio documentation tomorrowio source (message by IssueLinks)