rgbcw_lightbulb.yaml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  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. - invert: true
  51. - id: 24
  52. name: rgbhsv
  53. type: hex
  54. optional: true
  55. format:
  56. - name: h
  57. bytes: 2
  58. range:
  59. min: 0
  60. max: 360
  61. - name: s
  62. bytes: 2
  63. range:
  64. min: 0
  65. max: 1000
  66. - name: v
  67. bytes: 2
  68. range:
  69. min: 0
  70. max: 1000
  71. - id: 25
  72. name: scene_data
  73. type: hex
  74. optional: true
  75. - id: 27
  76. name: music_data
  77. type: hex
  78. optional: true
  79. - id: 28
  80. name: control_data
  81. type: hex
  82. optional: true
  83. - id: 30
  84. name: rhythm_mode
  85. type: base64
  86. optional: true
  87. - id: 31
  88. name: sleep_mode
  89. type: base64
  90. optional: true
  91. - id: 32
  92. name: wakeup_mode
  93. type: base64
  94. optional: true
  95. secondary_entities:
  96. - entity: number
  97. name: Timer
  98. category: config
  99. icon: "mdi:timer"
  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: "05464601000003e803e800000000464601007803e803e80000000046460100f003e803e800000000464601003d03e803e80000000046460100ae03e803e800000000464601011303e803e800000000"
  139. # color* R+G+B+Y+C+V, Flash, Mid speed
  140. value: Colorful
  141. - dps_val: "06464601000003e803e800000000464601007803e803e80000000046460100f003e803e800000000"
  142. # color* R+G+B, Flash, Mid speed
  143. value: Dazzling
  144. - dps_val: "07464602000003e803e800000000464602007803e803e80000000046460200f003e803e800000000464602003d03e803e80000000046460200ae03e803e800000000464602011303e803e800000000"
  145. # color* R+G+B+Y+C+V, Breath, Mid speed
  146. value: Gorgeous