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

    Interface ProtectionUpdate

    A protection update to apply — the write contract shared by frost (Classic and Home) and overheat (Home ATA) protection, clamped by the sibling helpers before it reaches the wire.

    Structurally identical to ProtectionState today, and kept separate on purpose: the read twin gains whatever the wire starts reporting, the write twin only what the units accept. Its holiday counterparts already diverge that way — HolidayModeState nulls a bound the wire left unset, where its update requires both.

    interface ProtectionUpdate {
        isEnabled: boolean;
        max: number;
        min: number;
    }
    Index
    isEnabled: boolean

    Whether the protection is on.

    max: number

    Requested upper bound, in °C.

    min: number

    Requested lower bound, in °C.