briis / hass-weatherflow

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

Not working after upgrade to 2023.3 #61

Closed Kevvyg1 closed 1 year ago

Kevvyg1 commented 1 year ago

Hi, is it just me that has this issue, i see no other reports. I roll back to 2023.2 and no issue

Logger: homeassistant.config_entries Source: custom_components/weatherflow/init.py:72 Integration: WeatherFlow Weather (documentation, issues) First occurred: 4:27:04 PM (1 occurrences) Last logged: 4:27:04 PM

Error setting up entry Green Farm for weatherflow Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 383, in async_setup result = await component.async_setup_entry(hass, self) File "/config/custom_components/weatherflow/init.py", line 72, in async_setup_entry if hass.config.units.is_metric AttributeError: 'UnitSystem' object has no attribute 'is_metric'

I am a basic user, apologies if a simple error on my part

briis commented 1 year ago

Duplicate of #59. If you update to the latest version this issue is fixed. HACS is not automatically checking for new versions so you need to trigger this manually by updating the Repository info. See more info in #59