Auto clean invalid links?

Thank you for this @amosk !

I just upgraded from OH 3.1 to 3.3 and had to recreate all my MQTT Homeassistant esphome Things, resulting in invalid links all over the place.

I was searching the forums for a way to list all Item invalid links in bulk, at once, so I’m sure I’m reconnecting everything.

With your tip and using help I found the command below in openhab-cli console, which is what I needed:
openhab:links orphan list

Side note: boy did I have a lot of oooold invalid links in there :slight_smile: