Unable to change Zigbee serial device path

Hi all,

bit of a weird one. I’m currently using an HUSBZB-1 to control both zigbee and zwave devices. I have had a few issues with the controller getting different serial port identifiers (sometimes it would show up as /dev/ttyUSB0&1 and other-times 2&3) so I created a udev rule to create symlinks at /dev/zwave and /dev/zigbee.

After changing the device paths in configuration.yml and restarting Home Assistant I noticed that my zwave devices worked correctly, but the home-assistant.log displayed the error:

ERROR (MainThread) [homeassistant.config_entries] Error setting up entry /dev/ttyUSB1 for zha

despite the device being configured as /dev/zigbee. A quick check of /dev revealed that the /dev/zigbee symlink exists and is pointed to /dev/ttyUSB3. /dev/ttyUSB1 does not exist.

Why is Home Assistant trying to use the old Zigbee device path, and how can I force it to use the correct one?

Change the config entry in .storage. It’s in core.config_entries.

Thanks for the reply, I don’t see a core.config_entries file in the .storage folder. An ls -al of the directory gives:

drwxr-xr-x 2 services services 4096 Mar 13 18:01 .
drwxr-xr-x 7 services services 4096 Apr 17 07:08 ..
-rw------- 1 services services 1922 Mar 13 17:51 auth
-rw------- 1 services services  288 Mar 13 17:51 auth_provider.homeassistant
-rw-r--r-- 1 services services 1030 Mar 13 17:51 core.entity_registry
-rw-r--r-- 1 root     root      817 Mar 13 18:01 core.restore_state
-rw------- 1 services services  113 Mar 13 17:51 onboarding
-rw-r--r-- 1 services services  313 Mar 13 17:51 person

Well that’s odd, I’m on a venv install and had to change it there in order for the change to take effect, it ignores the configuration.yaml entry after initial setup.