Flatten the building hierarchy into a sorted list of all zones.
The building ID to look up areas for.
The areas belonging to the specified building.
Build a hierarchical zone structure from the registry, optionally filtered by device type.
Options object.
Optionaltype?: DeviceTypeOptional device type to filter the zone structure.
The hierarchical building zone structure.
Central in-memory registry of all MELCloud models (buildings, floors, areas, devices). Synced from the API response and queryable by ID or parent relationship.