Skip to content

Modelling devices with sub-devices #1036

Closed Answered by frenck
emontnemery asked this question in Entity Models
Discussion options

You must be logged in to vote

TL;DR: No big blocker reasoning found in historical information, Proposal 1 is accepted.

I've been digging a bit into the history of this all. As far as I am aware, we've originally set out to add area support to entities to solve this problem.

Devices that could operate in multiple areas, like a 2-channel/relay style wall-switch operating lights in different areas, would presumably be solved by allowing entities to be assigned to a different area from their parent device.

Area ID support for entities was originally added to the codebase in: home-assistant/core#42221
Unfortunately, that PR provided no context or motivation behind the reasoning to do so, so I had to dig deeper.

Interesting…

Replies: 4 comments 3 replies

Comment options

emontnemery
Feb 6, 2024
Collaborator Author

You must be logged in to vote
3 replies
@elupus
Comment options

@emontnemery
Comment options

emontnemery Feb 6, 2024
Collaborator Author

@joostlek
Comment options

Comment options

emontnemery
Feb 6, 2024
Collaborator Author

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by frenck
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants