create_fan_light.yaml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. name: Ceiling fan with light
  2. products:
  3. - id: p8z27dfdwc4riyp9
  4. manufacturer: Create
  5. model: XW-FAN-215-D
  6. entities:
  7. - entity: fan
  8. dps:
  9. - id: 60
  10. type: boolean
  11. name: switch
  12. - id: 62
  13. type: integer
  14. optional: true
  15. name: speed
  16. range:
  17. min: 1
  18. max: 6
  19. - id: 63
  20. type: string
  21. optional: true
  22. name: direction
  23. - entity: light
  24. dps:
  25. - id: 20
  26. type: boolean
  27. name: switch
  28. - id: 21
  29. name: work_mode
  30. type: string
  31. optional: true
  32. - id: 23
  33. name: color_temp
  34. type: integer
  35. optional: true
  36. range:
  37. min: 0
  38. max: 1000
  39. mapping:
  40. - target_range:
  41. min: 2700
  42. max: 6500
  43. step: 500
  44. - id: 25
  45. name: scene_data
  46. type: string
  47. optional: true
  48. - entity: number
  49. translation_key: timer
  50. class: duration
  51. category: config
  52. dps:
  53. - id: 64
  54. type: integer
  55. optional: true
  56. name: value
  57. unit: min
  58. range:
  59. min: 0
  60. max: 540