MELCloud & MELCloud Home API for Node.js - v48.2.0
    Preparing search index...

    Class ClassicRegistry

    Central in-memory registry of all MELCloud models (buildings, floors, areas, devices). Synced from the Classic API response and queryable by ID or parent relationship.

    Index
    areas: { getById: (id: number) => ClassicArea<number | null> | undefined } = ...

    Type Declaration

    • getById: (id: number) => ClassicArea<number | null> | undefined

      Returns the area with the given id, or undefined when no such area is registered.

    buildings: { getById: (id: number) => ClassicBuilding | undefined } = ...

    Type Declaration

    • getById: (id: number) => ClassicBuilding | undefined

      Returns the building with the given id, or undefined when no such building is registered.

    devices: { getById: (id: number) => ClassicDeviceAny | undefined } = ...

    Type Declaration

    • getById: (id: number) => ClassicDeviceAny | undefined

      Returns the device with the given id, or undefined when no such device is registered.

    floors: { getById: (id: number) => ClassicFloor | undefined } = ...

    Type Declaration

    • getById: (id: number) => ClassicFloor | undefined

      Returns the floor with the given id, or undefined when no such floor is registered.