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.

  1. Is there a best practice for renaming devices ? Do you name them by their location ? By their utility ? manufacturer ?
  2. How do you identify the devices later in case there’s a problem and one needs to be replaced / battery need to be replaced ?
  • @StrawberryPigtails
    link
    English
    45 months ago

    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 and switch.livingroom.heater.2. The controls for the lights in the livingroom is button.livingroom.wall. Please don’t ask why I call plugs switches and controls buttons, I don’t have an answer, I just do. 🤷