Limych / ha-iaquk

Indoor Air Quality Sensor Component for Home Assistant
MIT License
111 stars 16 forks source link

Temperature utility to stop functioning in Home Assistant 2033.4 #106

Closed kzarmer closed 8 months ago

kzarmer commented 1 year ago

Environment

Describe the bug

Working now, but Home Assistant system log warns of depreciated function call which will stop functioning in Home Assistant 2023.4

Configuration.yaml


Add your configs here if any.

Steps to Reproduce

Expected behavior

Debug log

Logger: homeassistant.helpers.frame
Source: helpers/frame.py:77
First occurred: January 30, 2023 at 3:39:52 PM (2 occurrences)
Last logged: January 30, 2023 at 7:06:17 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 iaquk using this method at custom_components/iaquk/__init__.py, line 355: value = convert_temperature(value, entity_unit, TEMP_CELSIUS)
Detected integration that calls media_source.async_resolve_media without passing an entity_id. Please report issue for media_source using this method at homeassistant/components/media_source/__init__.py, line 147: report("calls media_source.async_resolve_media without passing an entity_id")
Add your logs here.

Additional context

The Home Assistant system log warning is pasted above.