The problem
Very often I am trying to do stuff like turn on all the lights in an area. Say the living room. At the moment it's a bit clunky (unless I dont know the better way to do it) which involves hardcoding constants for area ids to pass in as targets, and theres no compile time safety as there is with other similar class types (like zones) which are generated using the nd-codegen.
Alternatively you can get your entity and then do ha.GetAreaFromEntityId and then you get your Area class which has everything you'd need but then youre working backwards from a specific entity. Ideally if im working with areas i shouldnt need to know ahead of time what entities are within it.
The proposed solution
Since the classes for areas and floors are already there, simply add an AreaEntities and FloorEntities services which contain all the areas and floors and let you work from areas downwards, rather than having to go specific entity upwards