r-renato / ha-climacell-weather

Climacell weather provider integration is a custom component for Home Assistant. The climacell platform uses the Climacell API as a source for meteorological data for your location.
MIT License
46 stars 10 forks source link

Detected integration that accesses the `is_metric` property of the unit system. #69

Closed tarheelz closed 1 year ago

tarheelz commented 1 year ago

Detected integration that accesses theis_metricproperty of the unit system. This is deprecated and will stop working in Home Assistant 2023.1. Please adjust to use instance check instead.. Please report issue to the custom integration author for climacell_custom using this method at custom_components/climacell_custom/sensor.py, line 112: elif hass.config.units.is_metric:

Admittedly, I am running the custom fork from @L1p0-M https://github.com/L1p0-M/ha-climacell-weather but presumably this is true here as well.

L1p0-M commented 1 year ago

Fixed it! btw you can report issues to my fork as well!