Description
The problem
After updating to core-2025.6.1 I get the following error in the logs:
KeyError: 'precip_type'
Please find below the detailed log. I am not sure, maybe it relates to this issue: #138252
What version of Home Assistant Core has the issue?
core-2025.6.1
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
weatherflow_cloud
Link to integration documentation on our website
https://www.home-assistant.io/integrations/weatherflow_cloud
Diagnostics information
Logger: homeassistant.components.weatherflow_cloud
Quelle: helpers/update_coordinator.py:382
Integration: WeatherflowCloud (Dokumentation, Probleme)
Erstmals aufgetreten: 16. Juni 2025 um 10:07:14 (835 Vorkommnisse)
Zuletzt protokolliert: 10:48:20
Unexpected error fetching weatherflow_cloud data
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 382, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/weatherflow_cloud/coordinator.py", line 42, in _async_update_data
return await self.weather_api.get_all_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/weatherflow4py/api.py", line 177, in get_all_data
weather=await self.async_get_forecast(station_id=station.station_id),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/weatherflow4py/api.py", line 108, in async_get_forecast
return await self._make_request(
^^^^^^^^^^^^^^^^^^^^^^^^^
...<3 lines>...
)
^
File "/usr/local/lib/python3.13/site-packages/weatherflow4py/api.py", line 70, in _make_request
raise e
File "/usr/local/lib/python3.13/site-packages/weatherflow4py/api.py", line 65, in _make_request
return response_model.from_json(data) if response_model else None
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "/usr/local/lib/python3.13/site-packages/dataclasses_json/api.py", line 63, in from_json
return cls.from_dict(kvs, infer_missing=infer_missing)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/dataclasses_json/api.py", line 70, in from_dict
return _decode_dataclass(cls, kvs, infer_missing)
File "/usr/local/lib/python3.13/site-packages/dataclasses_json/core.py", line 229, in _decode_dataclass
value = _decode_dataclass(field_type, field_value,
infer_missing)
File "/usr/local/lib/python3.13/site-packages/dataclasses_json/core.py", line 233, in _decode_dataclass
init_kwargs[field.name] = _decode_generic(field_type,
~~~~~~~~~~~~~~~^^^^^^^^^^^^
field_value,
^^^^^^^^^^^^
infer_missing)
^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/dataclasses_json/core.py", line 315, in _decode_generic
xs = _decode_items(get_type_arg_param(type, 0), value, infer_missing)
File "/usr/local/lib/python3.13/site-packages/dataclasses_json/core.py", line 410, in _decode_items
return list(_decode_type(type_args, x, infer_missing) for x in xs)
File "/usr/local/lib/python3.13/site-packages/dataclasses_json/core.py", line 410, in
return list(_decode_type(type_args, x, infer_missing) for x in xs)
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/dataclasses_json/core.py", line 247, in _decode_type
return decode_generic(type, value, infer_missing)
File "/usr/local/lib/python3.13/site-packages/dataclasses_json/core.py", line 321, in _decode_generic
res = _decode_dataclass(origin, value, infer_missing)
File "/usr/local/lib/python3.13/site-packages/dataclasses_json/core.py", line 185, in _decode_dataclass
field_value = kvs[field.name]
~~~^^^^^^^^^^^^
KeyError: 'precip_type'
Logger: weatherflow4py.rest
Quelle: components/weatherflow_cloud/coordinator.py:42
Erstmals aufgetreten: 16. Juni 2025 um 10:07:14 (835 Vorkommnisse)
Zuletzt protokolliert: 10:48:20
Logger: weatherflow4py.rest
Quelle: components/weatherflow_cloud/coordinator.py:42
Erstmals aufgetreten: 16. Juni 2025 um 10:07:14 (835 Vorkommnisse)
Zuletzt protokolliert: 10:48:20
Unable to convert data || {"status":{"status_code":0,"status_message":"SUCCESS"},"elevation":XXX,"is_public":true,"latitude":XXXX,"longitude":8.4055,"obs":[{"air_density":1.15915,"air_temperature":21.1,"barometric_pressure":979.1,"brightness":89976,"delta_t":4.7,"dew_point":13.5,"feels_like":21.1,"heat_index":21.1,"lightning_strike_count":0,"lightning_strike_count_last_1hr":0,"lightning_strike_count_last_3hr":0,"lightning_strike_last_distance":10,"lightning_strike_last_epoch":1749999876,"precip_accum_last_1hr":0.0,"precip_accum_local_yesterday":0.0,"precip_minutes_local_day":0,"precip_minutes_local_yesterday":0,"pressure_trend":"steady","relative_humidity":62,"sea_level_pressure":1025.1,"solar_radiation":750,"station_pressure":979.1,"timestamp":1750149711,"uv":6.87,"wet_bulb_globe_temperature":21.0,"wet_bulb_temperature":16.4,"wind_avg":0.9,"wind_chill":21.1,"wind_direction":71,"wind_gust":1.6,"wind_lull":0.1}],"outdoor_keys":["timestamp","air_temperature","barometric_pressure","station_pressure","pressure_trend","sea_level_pressure","relative_humidity","precip_accum_last_1hr","precip_accum_local_yesterday","precip_minutes_local_day","precip_minutes_local_yesterday","wind_avg","wind_direction","wind_gust","wind_lull","solar_radiation","uv","brightness","lightning_strike_last_epoch","lightning_strike_last_distance","lightning_strike_count","lightning_strike_count_last_1hr","lightning_strike_count_last_3hr","feels_like","heat_index","wind_chill","dew_point","wet_bulb_temperature","wet_bulb_globe_temperature","delta_t","air_density"],"public_name":"Schachenmattstrasse","station_id":180902,"station_name":"XX","station_units":{"units_direction":"cardinal","units_distance":"km","units_other":"metric","units_precip":"mm","units_pressure":"inhg","units_temp":"c","units_wind":"kph"},"timezone":"Europe/Zurich"} || to || <class 'weatherflow4py.models.rest.observation.ObservationStationREST'> -- 'precip'
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response