Currently I don’t set device.name, set name to what I want to see. But that results in the devices showing up as “Unnamed device” under the “Connected devices” section of the device corresponding to my server.
If I set both device.name and name to the same then the entity will display the name twice on dashboards.
If I set device.name and don’t set name then it will add an autogenerated postfix based on device_class on dashboards.
Set device.name, and then set the entity name to None (or null if setting it in YAML)
MQTT Naming info can be found here, although it’s not super clear that marking an entity as the “main feature” means inheriting the device name as the entity name.
It’s allowed to set an MQTT entity’s name to None (use null in YAML) to mark it as the main feature of a device.
Further down on that page there is an example that shows this and explains it a bit better: Link