Thoughts and Questions About Naming

Thinking about naming… I have read and watched what I could find. It occurred to me that there are fundamental “things” concerning names:

  • device (the switch, or the socket, etc.)
  • the thing the device effects, maybe the target (lamp, etc)

So, do we name them based on which?

  • Living room wall switch
  • Living room table lamp connected to living room wall switch

I would love to get your thoughts.

Also, would I be correct in thinking that Entities are sub items (triggers, responses or other data) produced by the device?

Thanks,
Paul.

location_function has always served me well. The device type is already visible in the entity domain:

light.lounge_front_downlights
fan.bathroom_exhaust
switch.cinema_led_table

I use a lot of yaml so am not tempted to shorten this to just function and use labels or areas as these are not visible when constructing scripts or automations.

It would be more correct to say that Devices are a collection of entities. Entities are not always created by a device. Some entities are created as part of a service and many entities like automations, scripts, scenes, and helpers are created by integrations.