Skip to content

Scrypted Documentation / ColorSettingTemperature

Interface: ColorSettingTemperature

ColorSettingTemperature sets the color temperature of a light in Kelvin.

Properties

colorTemperature?

optional colorTemperature: number

Methods

getTemperatureMaxK()

getTemperatureMaxK(): Promise<number>

Returns

Promise<number>


getTemperatureMinK()

getTemperatureMinK(): Promise<number>

Returns

Promise<number>


setColorTemperature()

setColorTemperature(kelvin): Promise<void>

Parameters

kelvin: number

Returns

Promise<void>