cct_lightbulb.yaml 903 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. name: CCT lightbulb
  2. products:
  3. - id: dqs8oqdeccnqjfkx
  4. name: A60 lightbulb
  5. - id: znfxaaxc89zz6m5a
  6. name: A65 lightbulb
  7. primary_entity:
  8. entity: light
  9. dps:
  10. - id: 20
  11. type: boolean
  12. name: switch
  13. - id: 21
  14. name: work_mode
  15. type: string
  16. - id: 22
  17. name: brightness
  18. type: integer
  19. range:
  20. min: 10
  21. max: 1000
  22. - id: 23
  23. name: color_temp
  24. type: integer
  25. range:
  26. min: 0
  27. max: 1000
  28. mapping:
  29. - invert: true
  30. - id: 25
  31. name: scene
  32. type: hex
  33. optional: true
  34. secondary_entities:
  35. - entity: number
  36. name: Timer
  37. category: config
  38. icon: "mdi:timer"
  39. dps:
  40. - id: 26
  41. type: integer
  42. name: value
  43. unit: min
  44. range:
  45. min: 0
  46. max: 86400
  47. mapping:
  48. - scale: 60
  49. step: 60
  50. optional: true