I have a concoction of devices from all kind of manufacturers with cryptic codes in their names. Each device exposes multitude of sensors which makes the dashboard look like a mess.
- Is there a best practice for renaming devices ? Do you name them by their location ? By their utility ? manufacturer ?
- How do you identify the devices later in case there’s a problem and one needs to be replaced / battery need to be replaced ?
I may be wrong, but I think best practice says it doesn’t matter how you name your whatevers, so long as the convention you use is consistant. Within HA I tend to use the format
<DeviceType>.<Room>.<WhereOrWhat>.<NumberIfRestMatches>
.For example, the plugs that control my space heaters in my livingroom are
switch.livingroom.heater.1
andswitch.livingroom.heater.2
. The controls for the lights in the livingroom isbutton.livingroom.wall
. Please don’t ask why I call plugs switches and controls buttons, I don’t have an answer, I just do. 🤷So
${type_of_control}.${location}.${device_utility}.${number}
?