home-assistant / frontend

:lollipop: Frontend for Home Assistant
https://demo.home-assistant.io
Other
4.11k stars 2.8k forks source link

Meteorologisk incorrect display #22765

Open barthel-eu opened 1 week ago

barthel-eu commented 1 week ago

Checklist

Describe the issue you are experiencing

Inside the Android Home Assistant App. the weather forecast doesn't correctly refresh. It breaks down to show current (only) twice whereas the code is: `type: vertical-stack cards:

This is on our "HA control panel", running constantly without changes. After a manual refresh, it shows the proper information. Incorrect display: PXL_20241110_160343479 After refresh: PXL_20241110_160355094

Describe the behavior you expected

Showing the display shown in second image above (current, daily forecast, below hourly forcast without current). Not showing twice current only.

Steps to reproduce the issue

  1. Start the control panel.
  2. Wait many hours
  3. Suddenly it reduces the forecast to show_current and doesn't recover itself.

What version of Home Assistant Core has the issue?

2024.11.1

What was the last working version of Home Assistant Core?

No response

In which browser are you experiencing the issue with?

Fire Tablet, Home Assistant App (2024.4.1?)

Which operating system are you using to run this browser?

Fire OS latest

State of relevant entities

No response

Problem-relevant frontend configuration

No response

Javascript errors shown in your browser console/inspector

No response

Additional information

We use a split screen with Reolink App left (to allow HA unsupported "talk"), Home Assistant App right in Kiosk mode without header (family is "users"). So manual refresh on the device is a problem. Oops. The HA App contains also a lot of controls, the weather is something the family asked for to check quickly before they leave house. Maybe an idea to be able to click on the card to not just see the details and close that pop-up back to the corrupted forecast-display, but make sure the forecast refreshes at the same time?

martin131 commented 1 week ago

I have similar problem on my dashboard. I am using two integrations - one for current weather and one for forecast. Sometimes the second one is not correctly displayed - it looks like show_current and show_forecast are ignored. And yes it is correct that the second integration have these values in current. After manual refresh, It works well.

config:

type: custom:stack-in-card
mode: vertical
cards:
  - type: weather-forecast
    entity: weather.home
    show_current: true
    show_forecast: false
    secondary_info_attribute: wind_speed
    card_mod:
      style: |
        ha-card.regular {
          padding-bottom: 0px;
        }
  - type: weather-forecast
    show_current: false
    show_forecast: true
    forecast_type: daily
    entity: weather.forecast_home_rounded
    card_mod:
      style: |
        ha-card.regular {
          padding-top: 0px;
        }

before refresh:

20241113_154014

after refresh: 20241113_154537