## General - Light Gradual Change

### Function Introduction
- Set the light to gradually brighten when turning on, so that the light will gradually brighten and will not be dazzling when waking up in the morning.
- Set the light to gradually dim when turning off, so that the light will gradually dim and avoid bumps.

### DP protocol

|Serial number| Name| Number of bytes| Identifier| Data type| Field attribute| Field description|
|----|----|----|----|----|----|----|
|1| Version number| 1| version | Enumeration| Version number: 00| 0x00: Initial version|
|2| Turn on fade-in duration| 3 | fade_in_duration| Value| Maximum value: 60000 Minimum value: 0 Step: 1 Multiple: 0 | Hex code, range 0 ~ 60000 ms |
|3| Turn off fade-out duration| 3| fade_out_duration| Value| Maximum value: 60000 Minimum value: 0 Step: 1 Multiple: 0| Hex code, range 0 ~ 60000 ms|

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

### Notes
- None
### Related materials
- [Function page]: 
  - None
- [Component]: 
  - None
- [Tutorial]: 
  - None
- [SDK]: 
  - None
- [API]: 
  - None