## General-White Light

### Function Introduction
#### Brightness Value
- Brightness adjustment has a gradient effect by default, and the gradient time from 1% brightness to 100% brightness is 800ms.
- Brightness adjustment range: 1%-100%, the range of values ​​sent by the panel: 10-1000, the brightness adjustment range and the value sent by the panel are linearly corresponding.
- On the development-free platform, the maximum value of white light brightness defaults to 100%, and the minimum value of white light brightness defaults to 10%, which supports self-setting. It is recommended not to set the minimum value of white light brightness below 10% to avoid the situation where the light goes out when adjusted to the lowest brightness.
- Brightness conversion [formula] (/en/miniapp/panels/extended/utils/number#%E8%BD%AC%E6%8D%A2%E6%95%B0%E5%80%BC).

#### Warm and cold values
- The common color temperature range of bulbs is: 2700K-6500K. The higher the color temperature, the colder the corresponding color.
- Color temperature adjustment range: 0%-100%, the range of values ​​sent by the panel: 0-1000, the color temperature adjustment range and the value sent by the panel are linearly corresponding.

#### Number of color light channels supported
- [One channel](/en/miniapp/solution-ai/ability/lamp-solution/lamp#number-of-channels)
- [Two channels](/en/miniapp/solution-ai/ability/lamp-solution/lamp#number-of-channels)

### DP protocol
| DP code | DP meaning | DP type | Remarks |
| -------- | ------- |------- |------- |
| bright_value | Brightness value | Value range (10-1000) | |
| temp_value | Cold and warm value | Value range (0-1000) | |

### How to develop
- Monitor, report and send DP according to UI interaction
  - [Specific monitoring and sending examples](/en/miniapp/solution-panel/ability#device-function-point-management)

### Notes
- None
### Related materials
- [Function page]: 
  - None
- [Components]:
  1. [Regular touch slider](https://developer.tuya.com/material/library_oHEKLjj0/component?code=ComponentsTyLamp&subCode=LampTouchSlider)
  2. [Regular percentage slider](https://developer.tuya.com/material/library_oHEKLjj0/component?code=ComponentsTyLamp&subCode=LampPercentSlider)
  3. [Vertical touch slider](https://developer.tuya.com/material/library_oHEKLjj0/component?code=ComponentsTyLamp&subCode=LampVerticalTouchSlider)
  4. [Vertical percentage slider](https://developer.tuya.com/material/library_oHEKLjj0/component?code=ComponentsTyLamp&subCode=LampVerticalPercentSlider)
  5. [Regular brightness slider](https://developer.tuya.com/material/library_oHEKLjj0/component?code=ComponentsTyLamp&subCode=LampBrightSlider)
  6. [Color temperature slider](https://developer.tuya.com/material/library_oHEKLjj0/component?code=ComponentsTyLamp&subCode=LampTempSlider)
  7. [Rectangular color temperature color palette](https://developer.tuya.com/material/library_oHEKLjj0/component?code=ComponentsTyLamp&subCode=LampRectWhitePicker)
  8. [Circular color temperature color wheel](https://developer.tuya.com/material/library_oHEKLjj0/component?code=ComponentsTyLamp&subCode=LampCirclePickerWhite)
- [Tutorial]: 
  - None
- [API]: 
  - None