decompil3d / lovelace-hourly-weather

Hourly weather card for Home Assistant. Visualize upcoming weather conditions as a colored horizontal bar.
MIT License
298 stars 31 forks source link

New night-partly-cloudy shown during day #692

Closed variada closed 3 months ago

variada commented 3 months ago

Checklist:

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

decompil3d commented 3 months ago

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.

variada commented 3 months ago

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 3 months ago

Same problem here: V5.4.0 IMG_0251

V6.0.0 IMG_0250

jane-t commented 3 months ago

Same problem here.
50.92957 -2.91327

SW England.

image
decompil3d commented 3 months ago

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.

variada commented 3 months ago

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

jane-t commented 3 months ago

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
78andyp commented 3 months ago

Same here: Apple WeatherKit image image image