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
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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
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}
?