casafan_ceiling_fan_light.yaml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. name: Ceiling fan and light
  2. products:
  3. - id: qx9ovwpe9isccpb6
  4. name: Casafan ECO Neo III
  5. primary_entity:
  6. entity: fan
  7. translation_only_key: fan_with_presets
  8. dps:
  9. - id: 1
  10. type: boolean
  11. name: switch
  12. - id: 2
  13. type: string
  14. name: preset_mode
  15. mapping:
  16. - dps_val: nature_off
  17. value: normal
  18. - dps_val: nature_Low
  19. value: nature
  20. - dps_val: nature_Hi
  21. value: strong
  22. - id: 3
  23. type: integer
  24. name: speed
  25. range:
  26. min: 1
  27. max: 6
  28. - id: 8
  29. type: string
  30. name: direction
  31. secondary_entities:
  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: "1"
  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"