Previously I had the Smartthings integration set up, but as of a recent update it started posting errors in my log so I decided to delete it so I could set it up fresh.
The problem is that when I now go to Integration - Add Integration and choose Smartthings I get this error message
“Config flow could not be loaded”
Does anyone know what I need to do in order to successfully set up the integration once again? I have tried restarting the host system after deleting the previous Smartthings-integraion.
I had the same error on a different component, Raspberry Pi Power Supply checker. Turns out i had an old entry in my configuration.yaml and sensor.yaml for that component and forgot to remove it. I would double-check that you don’t have an orphan entry somewhere in your .yaml files. Once I removed the entries, I was able to add the integration using the UI.
same here… I have tested in a fresh install via VM and only works if you have home assistant cloud with Nabucasa, I have tried with Duckdns and no longer work… maybe some think I’m missing?
Per this issues page (https://github.com/home-assistant/core/issues/47449), have you checked to see that your external_url is configured? Two people on that page say that it worked for them.
I personally haven’t upgraded yet due to this issue, but I’m wondering if this works or not. I would think it would since hmbarbosa says that it works with Nabucasa but not Duckdns.
Thanks chewie8han!!!and the problem was the external_url not configured… easy fix… go to Configuration/General and add your https://*************duckdns.ogr:8123 and restart… works good here
I have the external_url enabled but I continue to have issues after the recent upgrade. It says everything is successful but the integration does not show up after saying success.
Few lines in the log show below:
Could not start session, Max amount of sessions reached, got {}
8:35:02 PM – /usr/local/lib/python3.8/site-packages/pysma/init.py (ERROR) - message first occurred at 8:24:09 PM and shows up 8 times
Received message for unregistered webhook 9503cbd3152847243f7f12ef08d37292f448751453e0dbd2364fbd254870c9db from 54.83.145.181
8:33:08 PM – Webhook (WARNING)
Unable to setup configuration entry ‘Home’ - please reconfigure the integration
8:33:07 PM – SmartThings (ERROR)
Unable to load scenes for configuration entry ‘Home’ because the access token does not have the required access
Gloom...!
I have the same problem and have been trawling the pages trying to fix it.
In the hope that the external_url parameter is the key I have entered my Nabu Casa address
(https://**********.ui.nabu.casa format) in the external_url parameter but get the same old “Config Flow Could Not be Loaded” message.
I had the same issue. After trying the steps above and reaching the same error I found a file that was leftover after removing the earlier instance: “config/.storage/smartthings” (note that the storage folder is hidden). After deleting this smartthings file, I was able to get past this error and re-establish a connection to SmartThings. Hope this helps.
Easiest way I found was to install the Web & SSH integration. Then use use basic linux commands to navigate to the folder and rename the file in question. True enough it worked perfectly for me after that.