EDl21 integration - Cannot delete old smart meter?

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.yaml and all files in my integrations/ package folder. There is no reference to /dev/ttyUSB1 in 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

It may be obtuse, but try to enable the usb1 disabled device and then you should be able to delete it.
Bring the system down to power off state (not just yank the power cord please) and restart for the system to successfully update the device status.

I tried it. In the end I deleted the total EDL21 integration and readded it.
Now it works great :slight_smile:

Thank you!