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

    Function clampOverheatProtection

    • Clamp an overheat-protection min/max pair into range with the required gap: min lands in [31, 38], max in [33, 40], and max - min >= 2.

      Parameters

      • min: number

        Requested lower bound, in °C.

      • max: number

        Requested upper bound, in °C.

      Returns { max: number; min: number }

      The clamped { min, max } pair.