algirdasc/hass-floureon

convert_temperature function will be deprecated

Closed this issue · 1 comments

Hi! I detected below WARNING in the HomeAssistant log.
I think the integration is needing a small update !
All the people using this fantastic integration will agree it !!!

Home Assistant 2022.10.3
Supervisor 2022.10.0
Operating System 9.2
Frontend 20221010.0 - latest

Logger: homeassistant.helpers.frame
Source: helpers/frame.py:77
First occurred: 20:28:50 (2 occurrences)
Last logged: 20:28:50

Detected integration that uses temperature utility. This is deprecated since 2022.10 and will stop working in Home Assistant 2022.4, it should be updated to use unit_conversion.TemperatureConverter instead. Please report issue to the custom integration author for floureon using this method at custom_components/floureon/climate.py, line 174: return convert_temperature(self._min_temp, TEMP_CELSIUS,
Detected integration that uses temperature utility. This is deprecated since 2022.10 and will stop working in Home Assistant 2022.4, it should be updated to use unit_conversion.TemperatureConverter instead. Please report issue to the custom integration author for floureon using this method at custom_components/floureon/climate.py, line 180: return convert_temperature(self._max_temp, TEMP_CELSIUS,

Thanks for heads up, fixend in latest commit.