rgbcw_lightbulb.yaml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. name: RGBCW Lightbulb
  2. products:
  3. - id: aok3caeleulg1neh
  4. name: Lijun smart bulb RGBCW
  5. - id: nh2i3k5q5aenhdq3
  6. name: Aubess E14 smart bulb RGBCW
  7. - id: ei0cjv7ogxdgcekq
  8. name: BrilliantSmart RGB garden lights
  9. - id: ivxfweclfhvra3ym
  10. name: Lampux bedside lamp
  11. - id: wufw0loegkb1y3u3
  12. name: Genio Smart WIFI bulb A60 RGB+CCT
  13. - id: gshkqhi4fx9qqwrr
  14. name: ANWIO BR30 WiFi Smart LED Bulb RGB+CCT 13W
  15. primary_entity:
  16. entity: light
  17. dps:
  18. - id: 20
  19. type: boolean
  20. name: switch
  21. - id: 21
  22. type: string
  23. name: color_mode
  24. mapping:
  25. - dps_val: white
  26. value: color_temp
  27. - dps_val: colour
  28. value: hs
  29. - dps_val: scene
  30. value: Scene
  31. - dps_val: music
  32. value: Music
  33. - id: 22
  34. name: brightness
  35. type: integer
  36. optional: true
  37. range:
  38. min: 10
  39. max: 1000
  40. mapping:
  41. - dps_val: null
  42. value: 0
  43. - id: 23
  44. name: color_temp
  45. type: integer
  46. optional: true
  47. range:
  48. min: 0
  49. max: 1000
  50. mapping:
  51. - target_range:
  52. min: 2700
  53. max: 6500
  54. - id: 24
  55. name: rgbhsv
  56. type: hex
  57. optional: true
  58. format:
  59. - name: h
  60. bytes: 2
  61. range:
  62. min: 0
  63. max: 360
  64. - name: s
  65. bytes: 2
  66. range:
  67. min: 0
  68. max: 1000
  69. - name: v
  70. bytes: 2
  71. range:
  72. min: 0
  73. max: 1000
  74. - id: 25
  75. name: scene_data
  76. type: hex
  77. optional: true
  78. - id: 27
  79. name: music_data
  80. type: hex
  81. optional: true
  82. - id: 28
  83. name: control_data
  84. type: hex
  85. optional: true
  86. - id: 30
  87. name: rhythm_mode
  88. type: base64
  89. optional: true
  90. - id: 31
  91. name: sleep_mode
  92. type: base64
  93. optional: true
  94. - id: 32
  95. name: wakeup_mode
  96. type: base64
  97. optional: true
  98. secondary_entities:
  99. - entity: number
  100. translation_key: timer
  101. category: config
  102. dps:
  103. - id: 26
  104. name: value
  105. type: integer
  106. optional: true
  107. range:
  108. min: 0
  109. max: 86400
  110. unit: min
  111. mapping:
  112. - scale: 60
  113. step: 60
  114. - dps_val: null
  115. - entity: select
  116. name: Scene
  117. icon: "mdi:palette"
  118. category: config
  119. dps:
  120. - id: 25
  121. type: string
  122. name: option
  123. optional: true
  124. mapping:
  125. - dps_val: "000c0d0000000000000000c80000"
  126. # color: brown, static
  127. value: Night
  128. - dps_val: "010e0d0000840000000003e801f4"
  129. # color: white, static
  130. value: Read
  131. - dps_val: "020e0d0000e80383000003e803e8"
  132. # color: lt cyan, static
  133. value: Working
  134. - dps_val: "030e0d00001403e8000001f401f4"
  135. # color: grey, static
  136. value: Leisure
  137. - dps_val: "04464602007803e803e800000000464602007803e8000a00000000"
  138. # color: G+DkG, Breath, Mid speed
  139. value: Soft
  140. - dps_val: "05464601000003e803e800000000464601007803e803e800000000\
  141. 46460100f003e803e800000000464601003d03e803e80000000046460100ae\
  142. 03e803e800000000464601011303e803e800000000"
  143. # color* R+G+B+Y+C+V, Flash, Mid speed
  144. value: Colorful
  145. - dps_val: "06464601000003e803e800000000464601007803e803e800000000\
  146. 46460100f003e803e800000000"
  147. # color* R+G+B, Flash, Mid speed
  148. value: Dazzling
  149. - dps_val: "07464602000003e803e800000000464602007803e803e800000000\
  150. 46460200f003e803e800000000464602003d03e803e80000000046460200ae\
  151. 03e803e800000000464602011303e803e800000000"
  152. # color* R+G+B+Y+C+V, Breath, Mid speed
  153. value: Gorgeous