this post was submitted on 28 Oct 2025
26 points (96.4% liked)

homeassistant

16739 readers
14 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.

Home Assistant can be self-installed on ProxMox, Raspberry Pi, or even purchased pre-installed: Home Assistant: Installation

Discussion of Home-Assistant adjacent topics is absolutely fine, within reason.
If you're not sure, DM @GreatAlbatross@feddit.uk

founded 2 years ago
MODERATORS
 

It would seem logical to name them for where they are and what they do. "Bathroom motion sensor", "Bedroom lamp", etc. However, I've found that, if it can move, it ends up moving sooner or later. My "bathroom" motion sensor is now in the upstairs family room, for example.

you are viewing a single comment's thread
view the rest of the comments

Entities I strongly recommend naming them like this:

{location}_{type}

For example

main_bedroom_temperature

This way if you change devices, you can swap entity names and everything works. Also YAML code is much easier to read and write.

Devices? That's more difficult to name, but also way less important, IMO. Usually I try to follow the same scheme as for entities, but sometimes I just prefer something else, like the actual brand, date of install...