Hi everyone,
I’m struggling with a persistent logging error in my Home Assistant setup and could use some advice on how to properly clean up my configuration.
The Setup: I am using the EDL21 integration to read my smart meters via USB infrared heads. Previously, I had two meters connected (/dev/ttyUSB0 and /dev/ttyUSB1). I have since removed the second meter and now only use one.
The Problem: My logs are being spammed every 10 seconds with the following warning: WARNING (MainThread) [sml.asyncio] [Errno 2] could not open port /dev/ttyUSB1: [Errno 2] No such file or directory
What I’ve tried so far:
- I checked my
configuration.yamland all files in myintegrations/package folder. There is no reference to/dev/ttyUSB1in any YAML file. - In the UI under Settings > Devices & Services, I see the EDL21 integration. It shows two devices under one “Hub”.
- The one for the missing meter was “Disabled”, but the error persists.
- I am unable to delete the single disabled device because the UI says it is “provided by an integration” and doesn’t offer a delete button for just that one entity. I can only delete the hub in total. But not one single smart meter.
My Question: If I delete the entire EDL21 “Hub” to get rid of the ghost USB1 reference, will I lose my historical energy data? Or is there a way to force Home Assistant to stop looking for /dev/ttyUSB1 without nuking the whole integration? I have a gazillion automations with that smart meter.
Any help on how to clean this up (perhaps in the .storage files?) would be greatly appreciated!
Log snippet:
2026-03-07 22:31:33.745 WARNING (MainThread) [sml.asyncio] [Errno 2] could not open port /dev/ttyUSB1: [Errno 2] No such file or directory: '/dev/ttyUSB1' 2026-03-07 22:31:43.749 WARNING (MainThread) [sml.asyncio] [Errno 2] could not open