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
71.82k stars 30.08k forks source link

Tomorrow.io integration doesn't create hourly entity #100368

Closed teklabania closed 1 year ago

teklabania commented 1 year ago

The problem

Tomorrow.io integration doesn't create hourly entity. After setting up an integration, 28 entities are created one of which is enabled by default weather.tomorrow_io_home_daily but there's no weather.tomorrow_io_home_hourly at all. When looking at weather.tomorrow_io_home_daily in developer tools, I can see daily weather forecast:

temperature: 20.7
temperature_unit: °C
humidity: 54
pressure: 1020.31
pressure_unit: hPa
wind_bearing: 315.81
wind_speed: 13.72
wind_speed_unit: km/h
visibility: 14.33
visibility_unit: km
precipitation_unit: mm
forecast:
  - datetime: '2023-09-14T04:00:00+00:00'
    condition: cloudy
    precipitation_probability: 0
    wind_bearing: 236.69
    temperature: 21.4
    templow: 12.9
    dew_point: 13.5
    wind_speed: 13.86
    precipitation: 0
    humidity: 94
  - datetime: '2023-09-15T04:00:00+00:00'
    condition: sunny
    precipitation_probability: 0
    wind_bearing: 104.61
    temperature: 21.3
    templow: 12
    dew_point: 12.1
    wind_speed: 14.33
    precipitation: 0
    humidity: 92
  - datetime: '2023-09-16T04:00:00+00:00'
    condition: cloudy
    precipitation_probability: 0
    wind_bearing: 130.87
    temperature: 23.2
    templow: 11.7
    dew_point: 12.9
    wind_speed: 15.52
    precipitation: 0
    humidity: 88
  - datetime: '2023-09-17T04:00:00+00:00'
    condition: cloudy
    precipitation_probability: 0
    wind_bearing: 210.33
    temperature: 26
    templow: 14.3
    dew_point: 14.7
    wind_speed: 11.3
    precipitation: 0
    humidity: 91
  - datetime: '2023-09-18T04:00:00+00:00'
    condition: cloudy
    precipitation_probability: 0
    wind_bearing: 178.17
    temperature: 28.6
    templow: 14.3
    dew_point: 16
    wind_speed: 22.03
    precipitation: 0
    humidity: 88
  - datetime: '2023-09-19T04:00:00+00:00'
    condition: rainy
    precipitation_probability: 45
    wind_bearing: 239.6
    temperature: 22.3
    templow: 17.2
    dew_point: 17
    wind_speed: 18.72
    precipitation: 6.24
    humidity: 93
attribution: Powered by Tomorrow.io
friendly_name: Tomorrow.io - Home - Daily
supported_features: 3

When I click weather.tomorrow_io_home_daily entity from GUI, I can see hourly forecast: image but I cannot get hourly forecast attributes from my automations.

What version of Home Assistant Core has the issue?

core-2023.9.2

What was the last working version of Home Assistant Core?

core-2023.9.2

What type of installation are you running?

Home Assistant Container

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 1 year 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.

(message by CodeOwnersMention)


tomorrowio documentation tomorrowio source (message by IssueLinks)

lymanepp commented 1 year ago

The attribute-based weather forecasts are deprecated with 2023.9. You need to make a service call to retrieve forecasts now. Here's a link to the relevant release notes--https://www.home-assistant.io/blog/2023/09/06/release-20239/#weather-forecast-service