You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
An unnamed MQTT device is created in Home Assistant for each gateway and the devices the gateway detected go under "Connected devices" section.
To Reproduce
Simply enable ha discovery and get some devices discovered.
Expected behavior
This unnamed device should not be created, or if it represents the gateway, it should get the name the gateway, along with the firmware version for example, and eventually information about its status, and show the devices it is connected (linked) to).
Screenshots
Environment
Using gateway 1.5.0 with Home Assistant 2025.2.5
Additional context
My guess is that cns list below is not properly formatted and maybe misused:
Actually it not the cns which is causing the problem, but the via_device, please see PR #293
After this fix, no unnamed device will be created.
I will be working on creating the gateway device, when I have time. The problem I see is if multiple gateways are used the via_device doesn't make much sense because the config is sent only once, on first discovery. This would represent the last gateway which as seen the device after a restart... Considering gateways are being given a unique name each.
For consistency with OpenMQTTGateway I would prefer to keep the via_device and add a name to it. I understand the point when using multiple gateways but it is still useful for single gateway installations.
Describe the bug
An unnamed MQTT device is created in Home Assistant for each gateway and the devices the gateway detected go under "Connected devices" section.
To Reproduce
Simply enable ha discovery and get some devices discovered.
Expected behavior
This unnamed device should not be created, or if it represents the gateway, it should get the name the gateway, along with the firmware version for example, and eventually information about its status, and show the devices it is connected (linked) to).
Screenshots
Environment
Using gateway 1.5.0 with Home Assistant 2025.2.5
Additional context
My guess is that cns list below is not properly formatted and maybe misused:
cns should be used to link the discovered device to another device which represents the gateway itself.
The text was updated successfully, but these errors were encountered: