briis / hass-weatherflow

Home Assistant Integration for WeatherFlow Stations
MIT License
67 stars 11 forks source link

HA v2022.11.0 - WARNING Detected integration that accesses the `is_metric` property of the unit system #47

Closed jazzyisj closed 2 years ago

jazzyisj commented 2 years ago

Detected integration that accesses the is_metric property 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 weatherflow using this method at custom_components/weatherflow/init.py, line 72: if hass.config.units.is_metric

briis commented 2 years ago

Thanks for reporting. I was already in the process of fixing this. Will be released when 2022.11 is released

briis commented 2 years ago

1.0.8 released, which closes this.