casafan_ceiling_fan_light.yaml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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_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. mapping:
  29. - scale: 0.06
  30. - id: 8
  31. type: string
  32. name: direction
  33. secondary_entities:
  34. - entity: light
  35. dps:
  36. - id: 15
  37. type: boolean
  38. name: switch
  39. - id: 16
  40. name: brightness
  41. type: integer
  42. range:
  43. min: 10
  44. max: 100
  45. mapping:
  46. - scale: 0.392
  47. - id: 17
  48. # 17 is listed as color_temp, and reported by the device, but light is fixed 3000K light
  49. name: reserved_color_temp
  50. type: integer
  51. range:
  52. min: 0
  53. max: 100
  54. - entity: select
  55. name: Timer
  56. icon: "mdi:timer"
  57. category: config
  58. dps:
  59. - id: 22
  60. type: string
  61. name: option
  62. mapping:
  63. - dps_val: cancel
  64. value: "Off"
  65. - dps_val: "1h"
  66. value: "1 hour"
  67. - dps_val: "2h"
  68. value: "2 hours"
  69. - dps_val: "3h"
  70. value: "3 hours"
  71. - dps_val: "4h"
  72. value: "4 hours"
  73. - dps_val: "5h"
  74. value: "5 hours"
  75. - dps_val: "6h"
  76. value: "6 hours"