rgbcw_lightbulb.yaml 3.7 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. primary_entity:
  14. entity: light
  15. dps:
  16. - id: 20
  17. type: boolean
  18. name: switch
  19. - id: 21
  20. type: string
  21. name: color_mode
  22. mapping:
  23. - dps_val: white
  24. value: color_temp
  25. - dps_val: colour
  26. value: hs
  27. - dps_val: scene
  28. value: Scene
  29. - dps_val: music
  30. value: Music
  31. - id: 22
  32. name: brightness
  33. type: integer
  34. optional: true
  35. range:
  36. min: 10
  37. max: 1000
  38. mapping:
  39. - dps_val: null
  40. value: 0
  41. - scale: 3.92
  42. - id: 23
  43. name: color_temp
  44. type: integer
  45. optional: true
  46. range:
  47. min: 0
  48. max: 1000
  49. mapping:
  50. - target_range:
  51. min: 2700
  52. max: 6500
  53. - id: 24
  54. name: rgbhsv
  55. type: hex
  56. optional: true
  57. format:
  58. - name: h
  59. bytes: 2
  60. range:
  61. min: 0
  62. max: 360
  63. - name: s
  64. bytes: 2
  65. range:
  66. min: 0
  67. max: 1000
  68. - name: v
  69. bytes: 2
  70. range:
  71. min: 0
  72. max: 1000
  73. - id: 25
  74. name: scene_data
  75. type: hex
  76. optional: true
  77. - id: 27
  78. name: music_data
  79. type: hex
  80. optional: true
  81. - id: 28
  82. name: control_data
  83. type: hex
  84. optional: true
  85. - id: 30
  86. name: rhythm_mode
  87. type: base64
  88. optional: true
  89. - id: 31
  90. name: sleep_mode
  91. type: base64
  92. optional: true
  93. - id: 32
  94. name: wakeup_mode
  95. type: base64
  96. optional: true
  97. secondary_entities:
  98. - entity: number
  99. name: Timer
  100. category: config
  101. icon: "mdi:timer"
  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