Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tempest Weather: Wrong label for current conditions #7

Open
eripa opened this issue Feb 1, 2025 · 0 comments
Open

Tempest Weather: Wrong label for current conditions #7

eripa opened this issue Feb 1, 2025 · 0 comments

Comments

@eripa
Copy link

eripa commented Feb 1, 2025

Hello!

Thanks again for the improvements to the Tempest plugin the other day ❤

I think there's a bug or some kind of misunderstanding of how the "Current Conditions" right-side label is working. See the below image, the Current Condition Icon (marked in green) is correct (same as the big upper left) but the label doesn't match the icon, the label matches the today forecast (marked in red). I expected the right-side label to be Partly Cloudy.

To me it looks like the today's forecast Condition text is applied to the Current Condition icon.

Thanks a lot,
Eric

Image

This is a snapshot of the API response for the same:

.current_conditions:

{
  "air_density": 1.25,
  "air_temperature": 6.0,
  "brightness": 48471,
  "conditions": "Partly Cloudy",
  "delta_t": 2.0,
  "dew_point": 1.0,
  "feels_like": 6.0,
  "icon": "partly-cloudy-day",
  "is_precip_local_day_rain_check": true,
  "is_precip_local_yesterday_rain_check": true,
  "lightning_strike_count_last_1hr": 0,
  "lightning_strike_count_last_3hr": 0,
  "precip_accum_local_day": 0,
  "precip_accum_local_yesterday": 11.53,
  "precip_minutes_local_day": 0,
  "precip_minutes_local_yesterday": 427,
  "precip_probability": 10,
  "pressure_trend": "steady",
  "relative_humidity": 73,
  "sea_level_pressure": 1009.0,
  "solar_radiation": 404,
  "station_pressure": 1001.3,
  "time": 1738439487,
  "uv": 1,
  "wet_bulb_globe_temperature": 6.0,
  "wet_bulb_temperature": 3.0,
  "wind_avg": 1.0,
  "wind_direction": 224,
  "wind_direction_cardinal": "SW",
  "wind_gust": 1.0
}

.forecast.daily[0]:

{
  "air_temp_high": 6.0,
  "air_temp_low": -3.0,
  "conditions": "Snow Possible",
  "day_num": 1,
  "day_start_local": 1738396800,
  "icon": "possibly-snow-day",
  "month_num": 2,
  "precip_icon": "chance-snow",
  "precip_probability": 30,
  "precip_type": "snow",
  "sunrise": 1738425113,
  "sunset": 1738458935
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant