Add device yaml for RGBCW bulb Xinled XLD-CL002 #2179
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The device is a white colored lamp with variable temperature and brightness. There is a color ring around the circle, which can be changed in color.
Purchased on the website:
https://www.temu.com/goods_snapshot.html?goods_id=601099518673110&title=%D0%94%D0%B5%D1%82%D0%B0%D0%BB%D0%B8&_x_sessn_id=b3scwxrijy&refer_page_name=goods&refer_page_id=10032_1722759995357_g5p6n9rti4&refer_page_sn=10032
Connects via WiFi to SmartLife (Tuya). The settings page displays separate controls for the main lamp and the color wheel.
Activation of the main lamp and color wheel modes together or separately is done via DPID. The meaning was partially decoded:
In the proposed config, mode switching is done through scene switching.
Examples of scene names
"WW 100%" - WhiteWarm brightness 100%
"WN 100%" - WhiteNeutral brightnes 100%
"RGB RED 100%" - color wheel red only
"WW+RED 100%" - main lamp + color wheel
After calling the scene, you can adjust the lamp parameters. If the scene includes the color wheel, the color adjustment in HomeAssistant will only change the color of the color ring
If you activate the scene for the main color, the light temperature and brightness adjustment will only affect the main white light.
Tuya Cloud properties query: