-
Notifications
You must be signed in to change notification settings - Fork 1k
YSR-CGD-RGB Smart Bowl Lamp #4496
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+156
−0
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
d56fdd2
YSR-CGD-RGB Smart Bowl Lamp
pacorola 473387a
Merge branch 'main' into main
make-all 5e2c2b9
Update rgbcw_lightbulb_inverted.yaml
pacorola 06d8324
Update rgbcw_lightbulb_inverted.yaml
pacorola 5b95fd8
Update rgbcw_lightbulb_inverted.yaml
pacorola 37385ac
Update rgbcw_lightbulb_inverted.yaml
pacorola 22b0c6f
Update rgbcw_lightbulb_inverted.yaml
pacorola 750a363
Update rgbcw_lightbulb_inverted.yaml
pacorola 6ec1a3d
feat (rgbwc_lightbulb): naming tweaks
make-all 2627928
fix (rgbwc_lightbulb): add product details from link
make-all File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
156 changes: 156 additions & 0 deletions
156
custom_components/tuya_local/devices/rgbwc_lightbulb.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,156 @@ | ||
| name: RGBCW lightbulb | ||
| products: | ||
| - id: leirmht5udei1xzw | ||
| manufacturer: YSRSAI | ||
| model: YSR-CGD-RGB | ||
| entities: | ||
| - entity: light | ||
| dps: | ||
| - id: 20 | ||
| type: boolean | ||
| name: switch | ||
| - id: 21 | ||
| type: string | ||
| name: color_mode | ||
| mapping: | ||
| - dps_val: white | ||
| value: color_temp | ||
| - dps_val: colour | ||
| value: hs | ||
| - dps_val: scene | ||
| value: Scene | ||
| - dps_val: music | ||
| value: Music | ||
| - id: 22 | ||
| name: brightness | ||
| type: integer | ||
| optional: true | ||
| range: | ||
| min: 10 | ||
| max: 1000 | ||
| mapping: | ||
| - dps_val: null | ||
| value: 0 | ||
| - id: 23 | ||
| name: color_temp | ||
| type: integer | ||
| optional: true | ||
| range: | ||
| min: 0 | ||
| max: 1000 | ||
| mapping: | ||
| - target_range: | ||
| min: 2700 | ||
| max: 6500 | ||
| invert: true | ||
| - id: 24 | ||
| name: rgbhsv | ||
| type: hex | ||
| optional: true | ||
| format: | ||
| - name: h | ||
| bytes: 2 | ||
| range: | ||
| min: 0 | ||
| max: 360 | ||
| - name: s | ||
| bytes: 2 | ||
| range: | ||
| min: 0 | ||
| max: 1000 | ||
| - name: v | ||
| bytes: 2 | ||
| range: | ||
| min: 0 | ||
| max: 1000 | ||
| - id: 27 | ||
| name: music_data | ||
| type: hex | ||
| optional: true | ||
| - id: 28 | ||
| name: control_data | ||
| type: hex | ||
| optional: true | ||
| - id: 30 | ||
| name: rhythm_mode | ||
| type: base64 | ||
| optional: true | ||
| - id: 31 | ||
| name: sleep_mode | ||
| type: base64 | ||
| optional: true | ||
| - id: 32 | ||
| name: wakeup_mode | ||
| type: base64 | ||
| optional: true | ||
| - entity: time | ||
| translation_key: timer | ||
| category: config | ||
| dps: | ||
| - id: 26 | ||
| name: second | ||
| type: integer | ||
| optional: true | ||
| range: | ||
| min: 0 | ||
| max: 86400 | ||
| - entity: switch | ||
| translation_key: do_not_disturb | ||
| hidden: unavailable | ||
| category: config | ||
| dps: | ||
| - id: 34 | ||
| type: boolean | ||
| optional: true | ||
| name: switch | ||
| - id: 34 | ||
| type: boolean | ||
| optional: true | ||
| name: available | ||
| mapping: | ||
| - dps_val: null | ||
| value: false | ||
| - value: true | ||
| - entity: text | ||
| translation_key: scene | ||
| category: config | ||
| hidden: true | ||
| dps: | ||
| - id: 25 | ||
| name: value | ||
| type: hex | ||
| optional: true | ||
| - entity: select | ||
| translation_key: scene | ||
| category: config | ||
| dps: | ||
| - id: 25 | ||
| type: string | ||
| name: option | ||
| optional: true | ||
| mapping: | ||
| - dps_val: "000e0d0000000000000000c80000" | ||
| value: night | ||
| - dps_val: "010e0d0000840000000003e801f4" | ||
| value: reading | ||
| - dps_val: "020e0d0000e80383000003e803e8" | ||
| value: working | ||
| - dps_val: "030e0d00001403e8000001f401f4" | ||
| value: leisure | ||
| - dps_val: >- | ||
| 04464602007803e803e800000000464602007803e8000a00000000 | ||
| value: soft | ||
| - dps_val: >- | ||
| 05464601000003e803e800000000464601007803e803e800000000 | ||
| 46460100f003e803e800000000464601003d03e803e800000000 | ||
| 46460100ae03e803e800000000464601011303e803e800000000 | ||
| value: colorful | ||
| - dps_val: >- | ||
| 06464601000003e803e800000000464601007803e803e800000000 | ||
| 46460100f003e803e800000000 | ||
| value: dazzling | ||
| - dps_val: >- | ||
| 07464602000003e803e800000000464602007803e803e800000000 | ||
| 46460200f003e803e800000000464602003d03e803e800000000 | ||
| 46460200ae03e803e800000000464602011303e803e800000000 | ||
| value: gorgeous | ||
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.
Uh oh!
There was an error while loading. Please reload this page.