Shelly integration - Reset ignored devices

I added a new Shelly device and accidentally told HA to ignore the new device. Now I would like to add this device, but I don’t see a way to do that. How can I reset the ignored devices list?

I have tried deleting and re-adding the integration, and I also tried adding a new Shelly device with that specific IP, which gives me the message “Device is already configured.”

Can you see it under the Configuration / Devices menu ?

No, it is not listed there. I also don’t see it in .storage/core.device_registry. There were a couple of deleted_devices there but neither matched the device I was missing. I shut down HA and removed those deleted_devcies entries just in case but it still says that the device has already been added if I try to add it.

I did have another new un-itialized Shelly device that I was able to set up and add correctly. It’s just the one that I previously ignored that is causing a problem. I might just convert it to Tasmota…

I did get this removed. I found the following entry in .support/core.config_entries, so I stopped HA core, removed the entry, and restarted HA core:

        {
            "entry_id": "d03707a801d711eb8c1aa1db75545bf7",
            "version": 1,
            "domain": "shelly",
            "title": "Ignored",
            "data": {
                "host": "10.0.50.112"
            },
            "options": {},
            "system_options": {
                "disable_new_entities": false
            },
            "source": "ignore",
            "connection_class": "local_poll",
            "unique_id": "mac address was here"
        },
2 Likes

Hi mcarson75,
I have a similar situation and I’m trying to understand what you did. Could you elaborate in more details what you did? How did you stop and start the HA core and how did you find and delete the entry?
I have a shelly device that I can’t register as it has already been registered so this thing you did seems like the last resort before starting to wipe the entire installation…

Thanks and regards,
Ranjan

@nc1264 I ssh’ed into HA and run “ha core stop”, made the changes to .support/core.config_entries, then ran “ha core start.”

To make the changes to the config_entries file, I edited it in WinSCP. To find the ignored device, you can search for devices in the domain “shelly” with a title of “ignored.” Delete the whole entry including the curly braces just as I showed above. If it happens to be the last device in the file, be sure to delete the trailing comma from the device above it so that there is not a trailing comma on the last device.

Have you re-enabled showing ignored integrations?

The integration is showing fine. It was previously-ignored devices within the integration that were causing the problem.

The wording of that menu is rather unfortunate.
Through this you can hide/show devices discovered via an integration.

After clicking “Show ignored integrations”, previously ignored Shelly devices will show up

Okay, good to know for the future. I honestly haven’t messed with it since my post back in September!

oh jeez I spent about two hours trying to solve this, it’s way more straightforward:

The file is directly accessible in \config\.storage\core.config_entries

…and you do not need to stop the core, just edit the file and restart host.

hey there,

i have the same problem - i deactivaed one of my shelly 2.5 because the shutter was broken.

Now I changed the shutter and wanted to reactive this shelly, but have the same problem.

I havent the config/storage folder and cannot find the file.
Can you please tell me, how I can find this folder or file to reactive this shelly again?

Thanks

Ah, thanks! Same story. I did everything except reenable the integration (did all the devices)


Now I have my hallway lights back