bramkragten / weather-card

Weather Card with animated icons for Home Assistant Lovelace
MIT License
480 stars 168 forks source link

Hourly forecast not displayed #173

Open skyler91 opened 2 months ago

skyler91 commented 2 months ago

After upgrading to HA 2024.4 today, I also had to upgrade weather-card to the beta release in order to support displaying of the weather forecast. Daily forecast now works, but hourly forecast is not displayed. I have confirmed that my weather.openweathermap entity includes hourly forecast values.

type: custom:weather-card
entity: weather.openweathermap
hourly_forecast: true
icons: /local/plugins/animated-weather-card/animated/

Screenshot from 2024-04-09 09-33-42 Screenshot from 2024-04-09 09-34-56

sagitt commented 2 months ago

HA 2024.4 destroy the forecast. I hope in an update for this

Weather
The previously deprecated forecast attribute of weather entities, has now been removed. Use the [weather.get_forecasts](https://www.home-assistant.io/integrations/weather#service-weatherget_forecasts) service to get the forecast data instead.

([@gjohansson-ST](https://github.com/gjohansson-ST) - [#110761](https://github.com/home-assistant/core/pull/110761)) ([documentation](https://www.home-assistant.io/integrations/metoffice))
mattfox27 commented 2 months ago

me too,

skyler91 commented 2 months ago

Made it work by setting forecast_type to "hourly".

Example:

type: custom:weather-card
entity: weather.openweathermap
hourly_forecast: true
forecast_type: hourly
icons: /local/plugins/animated-weather-card/animated/
mattfox27 commented 2 months ago

Oh, I lost my daily forecast that shows the whole week, that's what I want back

idrostasi commented 2 months ago

I was mad for two days about this issue, I hope in a future update because I lost the daily forecast too.

UncleLeoTheDad commented 2 months ago

Made it work by setting forecast_type to "hourly".

Example:

type: custom:weather-card
entity: weather.openweathermap
hourly_forecast: true
forecast_type: hourly
icons: /local/plugins/animated-weather-card/animated/

Alas, this didn't seem to work for me. :(

mattfox27 commented 2 months ago

me neither, didnt work

parautenbach commented 2 months ago
Screenshot 2024-05-04 at 08 17 29
UncleLeoTheDad commented 2 months ago

I’ve downloaded that version, restarted the server multiple times, cleared my browser cache and it doesn’t seem to work. Must be missing something.

On Sat, May 4, 2024 at 2:19 AM Pieter Rautenbach @.***> wrote:

Screenshot.2024-05-04.at.08.17.29.png (view on web) https://github.com/bramkragten/weather-card/assets/743320/1dc44aa1-8a52-43b5-b0e6-cc5e4bdb975a

— Reply to this email directly, view it on GitHub https://github.com/bramkragten/weather-card/issues/173#issuecomment-2094044876, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABCQKFB7LO5FYHLHVNF5CDZAR4WPAVCNFSM6AAAAABF65GIG2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJUGA2DIOBXGY . You are receiving this because you commented.Message ID: @.***>

UncleLeoTheDad commented 2 months ago

image

parautenbach commented 2 months ago
  1. Uninstall (via HACS) or delete the files.
  2. Remove the config from your resources: section.
  3. Restart, and check that your card is not found where you use it.
  4. Reinstall, detail your steps and provide feedback.
UncleLeoTheDad commented 2 months ago

Those exact steps fixed the problem. Thank you!

On Sat, May 4, 2024 at 2:04 PM Pieter Rautenbach @.***> wrote:

  1. Uninstall (via HACS) or delete the files.
  2. Remove the config from your resources: section.
  3. Restart, and check that your card is not found where you use it.
  4. Reinstall, detail your steps and provide feedback.

— Reply to this email directly, view it on GitHub https://github.com/bramkragten/weather-card/issues/173#issuecomment-2094331351, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABCQKFBPE4Y6GHT34PUHV3ZAUPJNAVCNFSM6AAAAABF65GIG2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJUGMZTCMZVGE . You are receiving this because you commented.Message ID: @.***>