Hi. I’m using Mosquitto to get my devices from my Clipsal C-Bus network (using cmqttd by libcbus), which gives me 255 lights (each one being two entities, one a light and one a binary sensor for a reason I’ve yet to figure out).
These lights are using their automated names, which are “C-Bus Light XXX” (where X is an address between 0-254). I have a list of the names as configured in C-Bus and I’d like to mirror this to Home Assistant.
How would I batch rename all these entities & devices? Going through 255 devices and 510 entities sounds quite tedious. I have a CSV mapping addresses to new names, but I don’t know how I would automate this.
Is this even the right way to go about this? Or should the solution require changes on the MQTT client to return these names from C-Bus?
Thanks in advance!
1 post - 1 participant