StyraHem / ShellyForHASS

Shelly smart home platform for Home Assistant
MIT License
619 stars 111 forks source link

[BUG] Integration refuses to start after upgrade to HA 2021.12.0 #618

Closed Mark-Roly closed 2 years ago

Mark-Roly commented 2 years ago

Environment

Describe the bug

After HA upgrade to 2021.12, Shelly integration shows "Not loaded", cannot delete integration.

Logs show"

Logger: homeassistant.config_entries Source: config_entries.py:720 First occurred: 7:33:56 PM (2 occurrences) Last logged: 7:33:57 PM

Error occurred loading configuration flow for integration shelly: cannot import name 'get_local_ip' from 'homeassistant.util' (/usr/src/homeassistant/homeassistant/util/init.py)

Steps to Reproduce

Start HA, integration fails to start.

Expected behavior

Integration should start.

Screenshots

Traceback/Error logs

Logger: homeassistant.config_entries
Source: config_entries.py:720
First occurred: 7:33:56 PM (2 occurrences)
Last logged: 7:33:57 PM

Error occurred loading configuration flow for integration shelly: cannot import name 'get_local_ip' from 'homeassistant.util' (/usr/src/homeassistant/homeassistant/util/__init__.py)

Additional context

Mark-Roly commented 2 years ago

Duplicate of 612 - closing