this post was submitted on 21 Jan 2024
20 points (100.0% liked)

homeassistant

11995 readers
16 users here now

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io

founded 1 year ago
MODERATORS
 

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 ?
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 9 months ago (1 children)

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 ....

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. 🤷

[–] barbarosa 2 points 9 months ago

So ${type_of_control}.${location}.${device_utility}.${number} ?