ekutner / home-connect-hass

Alternative (and improved) Home Connect integration for Home Assistant
MIT License
511 stars 53 forks source link

The device is disabled by Config entry. #225

Closed davidepanato closed 1 year ago

davidepanato commented 1 year ago

Describe the bug

All entities are disabled, home assistant shows The device is disabled by Config entry.

Screenshot 2023-05-16 alle 15 01 41

Version of the custom_component

0.6.1

Configuration


home_connect_alt:
  client_id: !secret HC_CLIENT_ID
  client_secret: !secret HC_CLIENT_SECRET

Debug log

home-assistant_2023-05-16T12-55-23.382Z.log

ekutner commented 1 year ago

I'm not sure what is the problem. The log seems fine. The quickest thing to try first is to remove the integration, restart HA then add it back again and see if that fixes the issue. If it doesn't then please add log_mode: 7 to the home_connect_alt section in the config file, restart HA again, then press the "Home Connect Debug" button and then upload the log again.

davidepanato commented 1 year ago

don't know what happened but it looked like the devices where disabled inside the .storage folder. I manually edited the core.device_registry and removed the disabled_by flag and it worked.