Need to delete an old setting, but can't find it

I moved my HA to a new box via backup and restore. I had a USB device connected to the old box, but on the new box it had a new address (ttyUSB0). I found the correct address by checking dmesg after plugging it in, updated the config, and rebooted. It was working. And then it wasn’t. And then it was. I could see it on the device page turning red and then working again about every minute. Wth??? So I checked the logs and it is still sometimes trying to use the old setting (ttyUSB2), which doesn’t exist. I have definitely updated the address in configuration.yaml, so where else might the old setting be coming from? I really hope I don’t have to uninstall the device and reinstall it. There are hundreds of entities attached to it (it’s a security system), and I have a lot of automations and if the addresses for the entities change, it will be a mess.

Search the forum for “USB device by serial ID”. This is a much better way to specify your device that won’t change.

Settings>>System>>Hardware then click on All Hardware, then scroll down to tty section?

I am currently using the /dev/serial/by-id/ names, but I still get these log entries for ttyUSB2. And no entries for ttyUSB2 in Settings > System > Hardware > All Hardware either. Just the two devices that I am using (one of which is the correct mapping for the device I am talking about here).

What usb device?
Is there an integration installed for it?
Did you remove the old integration?

1 Like