klarstein_airfold_fanlight.yaml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. name: Ceiling fan
  2. products:
  3. - id: o1knnbvabpech1ak
  4. manufacturer: Klarstein
  5. model: Airfold Smart
  6. entities:
  7. - entity: fan
  8. translation_key: fan_with_presets
  9. dps:
  10. - id: 101
  11. type: boolean
  12. name: switch
  13. - id: 102
  14. type: string
  15. name: preset_mode
  16. mapping:
  17. - dps_val: nature
  18. value: nature
  19. - dps_val: sleep
  20. value: sleep
  21. - dps_val: fresh
  22. value: fresh
  23. - dps_val: strong
  24. value: strong
  25. - id: 103
  26. type: integer
  27. name: speed
  28. range:
  29. min: 1
  30. max: 6
  31. - id: 106
  32. type: string
  33. name: direction
  34. - id: 112
  35. type: boolean
  36. optional: true
  37. name: oscillate
  38. - entity: switch
  39. translation_key: sound
  40. category: config
  41. dps:
  42. - id: 107
  43. type: boolean
  44. name: switch
  45. - entity: light
  46. dps:
  47. - id: 108
  48. type: boolean
  49. name: switch
  50. - id: 22
  51. name: brightness
  52. type: integer
  53. range:
  54. min: 10
  55. max: 1000
  56. - id: 23
  57. name: color_temp
  58. type: integer
  59. range:
  60. min: 0
  61. max: 1000
  62. mapping:
  63. - target_range:
  64. min: 3000
  65. max: 6500
  66. - entity: select
  67. translation_key: timer
  68. category: config
  69. dps:
  70. - id: 109
  71. type: string
  72. name: option
  73. mapping:
  74. - dps_val: cancel
  75. value: cancel
  76. - dps_val: "1h"
  77. value: "1h"
  78. - dps_val: "2h"
  79. value: "2h"
  80. - dps_val: "3h"
  81. value: "3h"
  82. - dps_val: "4h"
  83. value: "4h"
  84. - dps_val: "5h"
  85. value: "5h"
  86. - dps_val: "6h"
  87. value: "6h"
  88. - entity: sensor
  89. translation_key: time_remaining
  90. class: duration
  91. category: diagnostic
  92. dps:
  93. - id: 110
  94. type: integer
  95. name: sensor
  96. unit: min
  97. class: measurement
  98. - entity: binary_sensor
  99. class: problem
  100. category: diagnostic
  101. dps:
  102. - id: 111
  103. type: bitfield
  104. optional: true
  105. name: sensor
  106. mapping:
  107. - dps_val: 0
  108. value: false
  109. - dps_val: null
  110. value: false
  111. - value: true
  112. - id: 111
  113. type: bitfield
  114. optional: true
  115. name: fault_code