rgbcw_lightbulb.yaml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  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. primary_entity:
  10. entity: light
  11. dps:
  12. - id: 20
  13. type: boolean
  14. name: switch
  15. - id: 21
  16. type: string
  17. name: color_mode
  18. mapping:
  19. - dps_val: white
  20. value: color_temp
  21. - dps_val: colour
  22. value: rgbw
  23. - dps_val: scene
  24. value: Scene
  25. - dps_val: music
  26. value: Music
  27. - id: 22
  28. name: brightness
  29. type: integer
  30. optional: true
  31. range:
  32. min: 10
  33. max: 1000
  34. mapping:
  35. - dps_val: null
  36. - scale: 3.92
  37. - id: 23
  38. name: color_temp
  39. type: integer
  40. optional: true
  41. range:
  42. min: 0
  43. max: 1000
  44. mapping:
  45. - invert: true
  46. - id: 24
  47. name: rgbhsv
  48. type: hex
  49. optional: true
  50. format:
  51. - name: h
  52. bytes: 2
  53. range:
  54. min: 0
  55. max: 360
  56. - name: s
  57. bytes: 2
  58. range:
  59. min: 0
  60. max: 1000
  61. - name: v
  62. bytes: 2
  63. range:
  64. min: 0
  65. max: 1000
  66. - id: 25
  67. name: scene_data
  68. type: hex
  69. optional: true
  70. - id: 27
  71. name: music_data
  72. type: hex
  73. optional: true
  74. - id: 28
  75. name: control_data
  76. type: hex
  77. optional: true
  78. - id: 30
  79. name: rhythm_mode
  80. type: hex
  81. optional: true
  82. - id: 31
  83. name: sleep_mode
  84. type: hex
  85. optional: true
  86. - id: 32
  87. name: wakeup_mode
  88. type: hex
  89. optional: true
  90. secondary_entities:
  91. - entity: number
  92. name: Timer
  93. category: config
  94. icon: "mdi:timer"
  95. dps:
  96. - id: 26
  97. name: value
  98. type: integer
  99. range:
  100. min: 0
  101. max: 86400
  102. unit: min
  103. mapping:
  104. - scale: 60
  105. step: 60
  106. - entity: select
  107. name: Scene
  108. icon: "mdi:palette"
  109. category: config
  110. dps:
  111. - id: 25
  112. type: string
  113. name: option
  114. optional: true
  115. mapping:
  116. - dps_val: "000c0d0000000000000000c80000"
  117. # color: brown, static
  118. value: Night
  119. - dps_val: "010e0d0000840000000003e801f4"
  120. # color: white, static
  121. value: Read
  122. - dps_val: "020e0d0000e80383000003e803e8"
  123. # color: lt cyan, static
  124. value: Working
  125. - dps_val: "030e0d00001403e8000001f401f4"
  126. # color: grey, static
  127. value: Leisure
  128. - dps_val: "04464602007803e803e800000000464602007803e8000a00000000"
  129. # color: G+DkG, Breath, Mid speed
  130. value: Soft
  131. - dps_val: "05464601000003e803e800000000464601007803e803e80000000046460100f003e803e800000000464601003d03e803e80000000046460100ae03e803e800000000464601011303e803e800000000"
  132. # color* R+G+B+Y+C+V, Flash, Mid speed
  133. value: Colorful
  134. - dps_val: "06464601000003e803e800000000464601007803e803e80000000046460100f003e803e800000000"
  135. # color* R+G+B, Flash, Mid speed
  136. value: Dazzling
  137. - dps_val: "07464602000003e803e800000000464602007803e803e80000000046460200f003e803e800000000464602003d03e803e80000000046460200ae03e803e800000000464602011303e803e800000000"
  138. # color* R+G+B+Y+C+V, Breath, Mid speed
  139. value: Gorgeous