checkIsMatterHasWhite(dpSchema: any, force?: any)
Requires:
≥1.15.0
Description
Determine whether the Matter device supports white light (related to channel count: 1/2/4/5 channels = true; 3 channels = false).
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
dpSchema | any | Yes | dpSchema object |
force | any | No | Pass true when matter-kit is not integrated to infer the channel count |
Return Value
Type: boolean
Whether white light is supported