decompil3d/lovelace-hourly-weather

New night-partly-cloudy shown during day

variada opened this issue · 8 comments

Checklist:

  • I updated to the latest version available
  • I cleared the cache of my browser

Release with the issue: 6.0.0

Last working release (if known): 5.4.0

Browser and Operating System:

Brave. Windows 11

Description of problem:

the new partly cloudy at night icon shows up for the whole day. maybe because the condition started at night time? (can't see the beginning as I updated 9am) - see screenshot

Additional information:
image

Can you please share your latitude and longitude settings from your Home Assistant install? It's ok to drop the decimal or round a little for privacy. But the calculation for nighttime uses that info, so I'm curious if maybe yours is just set wrong.

Latitude and longitude are set ok. home zone is shown where I am. we're using that for a lot of presence detection as well. it's set to Berlin. lat: 52.53 - long: 13.61

it really looks like the problem occurs when partlycloudy starts in the night and simply goes on into the day. saw it yesterday evening as starting around 3a.m.-ish (but forgot to screenshot, sorry) - current screenshot shows the ongoing condition though (no switch since 3a.m.)

I will try to catch a partly cloudy that's only during the day to compare.

image

RK62 commented

Same problem here:
V5.4.0
IMG_0251

V6.0.0
IMG_0250

Same problem here.
50.92957
-2.91327

SW England.

image

Thanks for the reports folks! I'll look at this more on Monday. Feel free to downgrade to v5 in the meantime.

Any further details on if you ever see the daytime partly cloudy condition, and what times that happens would be helpful. Also any detail on which weather integration you're using.

This works for me, so I'm gonna need to dig in more to understand why it doesn't work for y'all. There's clearly a bug somewhere.

haven't seen the daytime cloudy condition since the update. using DWD (Deutscher Wetterdienst) weather integration (found at https://github.com/FL550/dwd_weather)

I have it again today
image

image
 - datetime: "2024-06-17T13:00:00+00:00"
    condition: partlycloudy
    temperature: 17.3
    pressure: 1011
    cloud_coverage: 48
    wind_speed: 5.58
    wind_bearing: 223
    uv_index: 6.01
    precipitation_probability: 0
    precipitation: 0
    apparent_temperature: 16.8
    dew_point: 11.1
    wind_gust_speed: 11.2
    humidity: 67

Same here:
Apple WeatherKit
image
image
image