If you want to rename a device, you can do it like so:
mosquitto_pub -t 'zigbee2mqtt/bridge/request/device/rename' -m '{"from": "0xa4c13841b4f5a7d5", "to": "halolight-0"}'
And it will take care of the rename in configuration.
If you want to rename a device, you can do it like so:
mosquitto_pub -t 'zigbee2mqtt/bridge/request/device/rename' -m '{"from": "0xa4c13841b4f5a7d5", "to": "halolight-0"}'
And it will take care of the rename in configuration.