kogan_bladeless_fan.yaml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. name: Bladeless fan
  2. products:
  3. - id: kablfan1csa
  4. manufacturer: Kogan
  5. model: KABLFAN1CSA
  6. - id: kasblstfansa
  7. manufacturer: Kogan
  8. model: KASBKSTFANSA
  9. entities:
  10. - entity: fan
  11. translation_only_key: fan_with_presets
  12. dps:
  13. - id: 1
  14. type: boolean
  15. name: switch
  16. - id: 2
  17. type: string
  18. name: speed
  19. mapping:
  20. - dps_val: "1"
  21. value: 11
  22. step: 11
  23. - dps_val: "2"
  24. value: 22
  25. step: 11
  26. - dps_val: "3"
  27. value: 33
  28. step: 11
  29. - dps_val: "4"
  30. value: 44
  31. step: 11
  32. - dps_val: "5"
  33. value: 55
  34. step: 11
  35. - dps_val: "6"
  36. value: 66
  37. step: 11
  38. - dps_val: "7"
  39. value: 77
  40. step: 11
  41. - dps_val: "8"
  42. value: 88
  43. step: 11
  44. - dps_val: "9"
  45. value: 100
  46. step: 12
  47. - id: 3
  48. name: preset_mode
  49. type: string
  50. mapping:
  51. - dps_val: close
  52. value: "off"
  53. - dps_val: sleep
  54. value: sleep
  55. - dps_val: fresh
  56. value: fresh
  57. - dps_val: heavy
  58. value: strong
  59. - id: 8
  60. type: boolean
  61. name: oscillate
  62. - entity: switch
  63. translation_key: sound
  64. category: config
  65. dps:
  66. - id: 102
  67. type: boolean
  68. optional: true
  69. name: switch
  70. mapping:
  71. - dps_val: null
  72. value_redirect: alternate
  73. - id: 101
  74. type: boolean
  75. optional: true
  76. name: alternate
  77. - entity: binary_sensor
  78. class: problem
  79. category: diagnostic
  80. dps:
  81. - id: 13
  82. type: bitfield
  83. name: sensor
  84. mapping:
  85. - dps_val: 0
  86. value: false
  87. - value: true
  88. - id: 13
  89. name: fault_code
  90. type: bitfield
  91. - entity: select
  92. translation_key: timer
  93. category: config
  94. dps:
  95. - id: 11
  96. type: string
  97. name: option
  98. mapping:
  99. - dps_val: "0"
  100. value: cancel
  101. - dps_val: "1"
  102. value: "1h"
  103. - dps_val: "2"
  104. value: "2h"
  105. - dps_val: "3"
  106. value: "3h"
  107. - dps_val: "4"
  108. value: "4h"
  109. - dps_val: "5"
  110. value: "5h"
  111. - dps_val: "6"
  112. value: "6h"
  113. - dps_val: "7"
  114. value: "7h"
  115. - dps_val: "8"
  116. value: "8h"
  117. - entity: sensor
  118. translation_key: time_remaining
  119. class: duration
  120. category: diagnostic
  121. dps:
  122. - id: 12
  123. type: integer
  124. optional: true
  125. name: sensor
  126. unit: min