Limych / ha-average

Average Sensor for Home Assistant

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue in 2022.10.x Temperature

DavidFW1960 opened this issue · comments

Environment

  • Home Assistant Core release with the issue:
  • This custom component release with the issue:
  • Last working this custom component release (if known):
  • Operating environment (Home Assistant/Supervisor/Docker/venv):

Describe the bug

Configuration.yaml

Add your configs here if any.

Steps to Reproduce

Expected behavior

Debug log

``
2022-09-29 10:05:13.788 WARNING (MainThread) [homeassistant.helpers.frame] 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 average using this method at custom_components/average/sensor.py, line 258: temperature = convert_temperature(float(temperature), entity_unit, ha_unit)


**Additional context**
<!--
  Add any other context about the problem here.
-->

Same issue here

Logger: homeassistant.helpers.frame
Source: helpers/frame.py:77 
First occurred: 11:52:59 PM (1 occurrences) 
Last logged: 11:52:59 PM

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)

Any ETA on a new commit?

This should not be closed as it's still an issue.

A new version should be released, because the end date (Apr. of 2023) for this integration is nearer and nearer.

It still causes warnings:

2023-03-02 16:59:21.289 WARNING (MainThread) [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)

I think everyone moved on with the new native feature in helpers "Combine the state of several sensors"..