SmartLampAdvancedAbility.getAdvancedTemperatureVas()
Requires:
≥1.15.0
Description
Get advanced color temperature VAS (value-added service) info, including keypoints (display value, raw value, unit) for color-temperature range and display.
Parameters
None
Return Value
Type: VasKeypoints['vasInfo']
Query the corresponding capability codes under Matter and the standard protocol respectively; may be undefined if unsupported. Network required.
Referenced Types
interface
VasKeypoints| Property | Type | Description |
|---|---|---|
bizId | string | Business ID |
bizType | number | Business type |
| VAS information |
Examples
Example
Notes
- Detects device type (Matter vs standard) and uses the matching capability code.
- On Matter devices, uses
matterColorTemperature. - On standard protocol devices, uses
colorTemperature. - May return an empty array or
nullif color temperature is not supported. - Calls a cloud API; network is required.