create_fan_light.yaml 1.0 KB

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