rgbcw_lightbulb.yaml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  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. - id: 23
  42. name: color_temp
  43. type: integer
  44. optional: true
  45. range:
  46. min: 0
  47. max: 1000
  48. mapping:
  49. - target_range:
  50. min: 2700
  51. max: 6500
  52. - id: 24
  53. name: rgbhsv
  54. type: hex
  55. optional: true
  56. format:
  57. - name: h
  58. bytes: 2
  59. range:
  60. min: 0
  61. max: 360
  62. - name: s
  63. bytes: 2
  64. range:
  65. min: 0
  66. max: 1000
  67. - name: v
  68. bytes: 2
  69. range:
  70. min: 0
  71. max: 1000
  72. - id: 25
  73. name: scene_data
  74. type: hex
  75. optional: true
  76. - id: 27
  77. name: music_data
  78. type: hex
  79. optional: true
  80. - id: 28
  81. name: control_data
  82. type: hex
  83. optional: true
  84. - id: 30
  85. name: rhythm_mode
  86. type: base64
  87. optional: true
  88. - id: 31
  89. name: sleep_mode
  90. type: base64
  91. optional: true
  92. - id: 32
  93. name: wakeup_mode
  94. type: base64
  95. optional: true
  96. secondary_entities:
  97. - entity: number
  98. translation_key: timer
  99. category: config
  100. dps:
  101. - id: 26
  102. name: value
  103. type: integer
  104. optional: true
  105. range:
  106. min: 0
  107. max: 86400
  108. unit: min
  109. mapping:
  110. - scale: 60
  111. step: 60
  112. - dps_val: null
  113. - entity: select
  114. name: Scene
  115. icon: "mdi:palette"
  116. category: config
  117. dps:
  118. - id: 25
  119. type: string
  120. name: option
  121. optional: true
  122. mapping:
  123. - dps_val: "000c0d0000000000000000c80000"
  124. # color: brown, static
  125. value: Night
  126. - dps_val: "010e0d0000840000000003e801f4"
  127. # color: white, static
  128. value: Read
  129. - dps_val: "020e0d0000e80383000003e803e8"
  130. # color: lt cyan, static
  131. value: Working
  132. - dps_val: "030e0d00001403e8000001f401f4"
  133. # color: grey, static
  134. value: Leisure
  135. - dps_val: "04464602007803e803e800000000464602007803e8000a00000000"
  136. # color: G+DkG, Breath, Mid speed
  137. value: Soft
  138. - dps_val: "05464601000003e803e800000000464601007803e803e800000000\
  139. 46460100f003e803e800000000464601003d03e803e80000000046460100ae\
  140. 03e803e800000000464601011303e803e800000000"
  141. # color* R+G+B+Y+C+V, Flash, Mid speed
  142. value: Colorful
  143. - dps_val: "06464601000003e803e800000000464601007803e803e800000000\
  144. 46460100f003e803e800000000"
  145. # color* R+G+B, Flash, Mid speed
  146. value: Dazzling
  147. - dps_val: "07464602000003e803e800000000464602007803e803e800000000\
  148. 46460200f003e803e800000000464602003d03e803e80000000046460200ae\
  149. 03e803e800000000464602011303e803e800000000"
  150. # color* R+G+B+Y+C+V, Breath, Mid speed
  151. value: Gorgeous