casafan_ceiling_fan_light.yaml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. name: Ceiling fan and light
  2. products:
  3. - id: qx9ovwpe9isccpb6
  4. manufacturer: Casafan
  5. model: ECO Neo III
  6. entities:
  7. - entity: fan
  8. translation_only_key: fan_with_presets
  9. dps:
  10. - id: 1
  11. type: boolean
  12. name: switch
  13. - id: 2
  14. type: string
  15. name: preset_mode
  16. mapping:
  17. - dps_val: nature_off
  18. value: normal
  19. - dps_val: nature_Low
  20. value: nature
  21. - dps_val: nature_Hi
  22. value: strong
  23. - id: 3
  24. type: integer
  25. name: speed
  26. range:
  27. min: 1
  28. max: 6
  29. - id: 8
  30. type: string
  31. name: direction
  32. - entity: light
  33. dps:
  34. - id: 15
  35. type: boolean
  36. name: switch
  37. - id: 16
  38. name: brightness
  39. type: integer
  40. range:
  41. min: 10
  42. max: 100
  43. - id: 17
  44. # 17 is listed as color_temp, and reported by the device, but light
  45. # is fixed 3000K light
  46. name: reserved_color_temp
  47. type: integer
  48. range:
  49. min: 0
  50. max: 100
  51. - entity: select
  52. translation_key: timer
  53. category: config
  54. dps:
  55. - id: 22
  56. type: string
  57. name: option
  58. mapping:
  59. - dps_val: cancel
  60. value: cancel
  61. - dps_val: "1h"
  62. value: "1h"
  63. - dps_val: "2h"
  64. value: "2h"
  65. - dps_val: "3h"
  66. value: "3h"
  67. - dps_val: "4h"
  68. value: "4h"
  69. - dps_val: "5h"
  70. value: "5h"
  71. - dps_val: "6h"
  72. value: "6h"