briis / hass-weatherflow2mqtt

WeatherFlow to MQTT for Home Assistant. Use UDP to get local weather data in to Home Assistant using MQTT Discovery
MIT License
129 stars 29 forks source link

README.md doc correction. Weather attribute change from hourly_forecast to daily_forecast causes Weather to render incorrectly #231

Closed alvinchen1 closed 1 year ago

alvinchen1 commented 1 year ago

Home Assistant Version?

2023.8.3

Add-On or Self Hosted?

HA Supervised (Add-On)

Weatherflow2MQTT version?

3.1.6

What happened?

Unsure when this change occurred, but sometime recently, the information in sensor.hub_hb_xxxxxxxx_weather attributes dropped hourly_forecast and now only has daily_forecast.

image

Following the README.md, under Creating a Home Assistant Weather Entity:

image

having hourly_forecast, the Weather Entity feeds the Weather Card incorrectly, where low of high/low temperature do not render

image

Furthermore details of Weather Card also render incorrectly.

image

FIX: The fix is to change the configuration.yaml Weather Template from hourly_forecast to daily_forecast

image

Would recommend updating the README.md to reflect this change.

Relevant log output

No response

mjmeli commented 1 year ago

Note that HA 2023.8 introduced a bug that caused the display issues you are presenting. It was fixed in 2023.8.3. See https://github.com/home-assistant/frontend/issues/17472

FWIW - I do still have hourly_forecast in mine. It is far down in the state below daily_forecast. Perhaps double check you don't have it because your screenshot is showing an hourly forecast. image

briis commented 1 year ago

The hourly forecast is still there, and has always been. @mjmeli is correct that there was Frontend bug, but this has long been fixed. As this item has had no new info for 3 weeks I will close it. Please reopen if you still have issues.