StyraHem / ShellyForHASS

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

[BUG] Home Assistant core-2021.6.2 #565

Open H0nzik1 opened 3 years ago

H0nzik1 commented 3 years ago

bug-core-2021-06-02

Environment

Describe the bug

LOG Just after an update:

Logger: homeassistant.setup Source: setup.py:172 First occurred: 16:10:34 (1 occurrences) Last logged: 16:10:34

Setup failed for shelly: Invalid config.

Logger: homeassistant.config Source: config.py:443 First occurred: 16:10:34 (1 occurrences) Last logged: 16:10:34 Invalid config for [shelly]: [igmp_fix] is an invalid option for [shelly]. Check: shelly->shelly->igmp_fix. (See /config/configuration.yaml, line 19). Please check the docs at https://www.home-assistant.io/integrations/shelly

Steps to Reproduce

Update core-2021.5.5 to core-2021.6.2

Expected behavior

No error.

Screenshots

Traceback/Error logs

Additional context

oneufus commented 3 years ago

Hi,

I have a error by config shelly. What goes wrong?

image

exeljb commented 3 years ago

I too had this issue when upgrading from 2021.5.1 to 2021.6.3. The shelly custom component failed to load and a bunch of new integrations where discovered. I reverted back to 2021.5.1 and everything came back okay luckily.

hakana commented 3 years ago

Look like HA trying to load the native Shelly integration instead of ShellyForHass. Try install latest HA version and restart HA to solveig this. 2021.6.4 working for me without anny issues.

kongo09 commented 3 years ago

I have over 20 Shellys and can confirm they work fine with 2021.6.4

exeljb commented 3 years ago

For me, I found out I was using a version of Shelly for HASS that didn't have the version data in the manifest.json so Home Assistant wasn't loading the custom integration. Loaded up the most current files from GitHub and was back in business.

H0nzik1 commented 3 years ago

2021.6.4 does not work for me:

Logger: homeassistant.components.shelly Source: components/shelly/init.py:77 Integration: Shelly (documentation, issues) First occurred: 10:45:33 (1 occurrences) Last logged: 10:45:33 The config entry configuration.yaml probably comes from a custom integration, please remove it if you want to use core Shelly integration

EDIT: Fixed by adding "version": "0.2.2", to manifest.json

harphere commented 3 years ago

Running 0.2.2 on Home Assistant Container 2021.6.4 and confirmed manifest.json contains the correct version number. Still seeing the error: Config flow could not be loaded. Any suggestions?

exeljb commented 3 years ago

What does your log file show for all the Shelly related info?

Milithor commented 2 years ago

Broken here as well on latest release: 2021.11.2

hakana commented 2 years ago

Try to restart Home Assistant. I got same problem after upgrade but after restarting HA everything works as normal.