I’m using mosquitto + zwave2mqtt for my z-wave devices, but I’m having an issue with autodiscovery in HA. When I first bring a device into zwave2mqtt, it’s given some generic parameters like node_id_9_x, which HA immediately picks up and adds as the appropriate entities. However, I rename the device and location in zwave2mqtt so I actually know what is what. When I do that, it seems like HA picks up on the new device name, but the actual entities within that device are still using the old name, and subsequently I lose control of those entities (like switch on/off state) because HA is publishing the wrong message.
I’ve tried restarting HA, zwave2mqtt, and mosquitto in various orders, but I haven’t found any consistent way to get HA on the same page as everyone else; it just seems like I fiddle with all the different components for a while and suddenly it works. Is there some way to force HA to refresh the MQTT info so I don’t have to screw with this every time I add a new z-wave device?