peteme_smart_recessed_lighting.yaml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. name: RGBCW light
  2. products:
  3. - id: sjaun9de
  4. name: Peteme SIG_DL_RGBCW recessed lighting
  5. primary_entity:
  6. entity: light
  7. dps:
  8. - id: 1
  9. type: boolean
  10. name: switch
  11. - id: 2
  12. name: color_mode
  13. type: string
  14. optional: true
  15. mapping:
  16. - dps_val: white
  17. value: color_temp
  18. - dps_val: colour
  19. value: hs
  20. - dps_val: scene
  21. value: Scene
  22. - dps_val: music
  23. value: Music
  24. - dps_val: null
  25. value: color_temp
  26. - id: 3
  27. name: brightness
  28. type: integer
  29. optional: true
  30. range:
  31. min: 10
  32. max: 1000
  33. mapping:
  34. - scale: 3.92
  35. - id: 4
  36. name: color_temp
  37. type: integer
  38. optional: true
  39. range:
  40. min: 0
  41. max: 1000
  42. mapping:
  43. - target_range:
  44. min: 2700
  45. max: 6500
  46. - id: 5
  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: 6
  67. name: scene_data
  68. type: hex
  69. optional: true
  70. - id: 8
  71. name: music_data
  72. type: hex
  73. optional: true