cct_lightbulb.yaml 1.0 KB

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