Lox Nexus

Class: ValueDefaults

The value each type falls back to when a conversion isn't possible. Fade times default to 0.2 s.

Constructors

Constructor

new ValueDefaults(): ValueDefaults

Returns

ValueDefaults

Properties

FADE_TIME

readonly static FADE_TIME: 0.2 = 0.2

seconds; Loxone's own default for a smart actuator fade


TEMPERATURE

readonly static TEMPERATURE: 4000 = 4000

Kelvin; a neutral white between the 2700–6500 K limits

Methods

for()

static for<T>(type): ValueOf<T>

a fresh value each call, safe to mutate

Type Parameters

T

T extends "string" | "number" | "boolean" | "null" | "singleChannel" | "rgbw" | "tunableWhite" | "t5"

Parameters

type

T

Returns

ValueOf<T>