This integration will stop working with Home Assistant 2023.4
jwfox5150 opened this issue · comments
Temperature utility is deprecated, need to use unit_conversion.TemperatureConverter.
[homeassistant.helpers.frame] Detected integration that uses temperature utility. This is deprecated since 2022.10 and will stop working in Home Assistant 2023.4, it should be updated to use unit_conversion.TemperatureConverter instead. Please report issue to the custom integration author for average using this method at custom_components/average/sensor.py, line 258: temperature = convert_temperature(float(temperature), entity_unit, ha_unit)
It looks like this has already been addressed, just needs to be pushed to a release.
@Limych 2023.04 is out and this is not fixed :'(
@Salamandar, I recommend you do what I did and remove this custom integration and move over any average sensors to a "Helper" sensor, native to Home Assistant.
@Salamandar, I recommend you do what I did and remove this custom integration and move over any average sensors to a "Helper" sensor, native to Home Assistant.
There is no helper doing the same "smoothing" job, unfortunately.
@jwfox5150 could you show us your config for an average sensor?
@jwfox5150 could you show us your config for an average sensor?
I have the same chalenge like as the @jwfox5150 here is a sample of my sensors:
`sensor:
- platform: average
name: irrigation_unlimited_rain_0
unique_id: irrigation_unlimited_rain_0
entities:- sensor.pws_precip_total
precision: 1
start: "{{ now().replace(hour=0).replace(minute=30).replace(second=0) }}"
end: "{{ now() }}"
scan_interval: 600`
- sensor.pws_precip_total
@Limych any plans to continue supporting this integration?