---
name: "SmartLampAdvancedAbility.getAdvancedTemperatureVas"
mode: "api"
versionRequirements:
  - { name: "", version: "1.15.0" }
title: "getAdvancedTemperatureVas — VAS (Value Added Service) info for advanced color temperature; keypoints for range and units."
summary: "Returns advanced color-temperature VAS information, including keypoint display ranges and units."
---

## SmartLampAdvancedAbility.getAdvancedTemperatureVas

> [VERSION] v1.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 |
| `vasInfo` | `Object[]` | VAS information |

##### `type` VasKeypoints.vasInfo

| Property | Type | Description |
| --- | --- | --- |
| `vasCode` | `string` | VAS code |
| `abilityEnabled` | `boolean` | Capability enabled |
| `keyPoints` | `Object[]` | Key points |

##### `type` VasKeypoints.vasInfo.keyPoints

| Property | Type | Description |
| --- | --- | --- |
| `displayValue` | `number` | Display value |
| `originalValue` | `number` | Original value |
| `unit` | `string` | Unit |


### Examples

#### Example

```typescript
const vasInfo = await sdm.lampAdv.getAdvancedTemperatureVas();
vasInfo?.forEach(item => {
  console.log('VAS:', item.vasCode, item.abilityEnabled);
  item.keyPoints.forEach(kp => console.log(kp.originalValue, kp.displayValue, kp.unit));
});
```


**Notes**

1. Detects device type (Matter vs standard) and uses the matching capability code.
2. On Matter devices, uses `matterColorTemperature`.
3. On standard protocol devices, uses `colorTemperature`.
4. May return an empty array or `null` if color temperature is not supported.
5. Calls a cloud API; network is required.
