medion_s20_vacuum.yaml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. name: Robot vacuum
  2. products:
  3. - id: ltp2oxcyx2l80unp
  4. name: Medion S20-SW
  5. primary_entity:
  6. entity: vacuum
  7. dps:
  8. - id: 1
  9. type: boolean
  10. name: power
  11. - id: 2
  12. type: boolean
  13. optional: true
  14. name: activate
  15. - id: 3
  16. type: string
  17. name: command
  18. mapping:
  19. - dps_val: standby
  20. value: stop
  21. - dps_val: random
  22. value: random
  23. - dps_val: spiral
  24. value: clean_spot
  25. - dps_val: smart
  26. value: smart
  27. - dps_val: chargego
  28. value: return_to_base
  29. - dps_val: wall_follow
  30. value: wall_follow
  31. - id: 4
  32. type: string
  33. name: direction_control
  34. mapping:
  35. - dps_val: forward
  36. value: forward
  37. - dps_val: backward
  38. value: reverse
  39. - dps_val: turn_left
  40. value: left
  41. - dps_val: turn_right
  42. value: right
  43. - dps_val: stop
  44. value: stop
  45. - id: 5
  46. type: string
  47. name: status
  48. mapping:
  49. - dps_val: standby
  50. value: standby
  51. - dps_val: random_clean
  52. value: random
  53. - dps_val: spot_clean
  54. value: clean_spot
  55. - dps_val: smart_clean
  56. value: smart
  57. - dps_val: goto_charge
  58. value: returning_to_base
  59. - dps_val: wall_clean
  60. value: wall_follow
  61. - dps_val: sleep
  62. value: sleep
  63. - dps_val: remote
  64. value: remote
  65. - dps_val: charging_line
  66. value: charging
  67. - dps_val: charging_base
  68. value: charging
  69. - dps_val: low_power
  70. value: low_power
  71. - dps_val: charging
  72. value: charging
  73. - dps_val: charge_done
  74. value: charged
  75. - dps_val: paused
  76. value: paused
  77. - dps_val: cleaning
  78. value: cleaning
  79. - dps_val: mop_clean
  80. value: mopping
  81. - dps_val: in_trouble
  82. value: error
  83. - id: 13
  84. type: boolean
  85. name: locate
  86. - id: 14
  87. type: string
  88. name: fan_speed
  89. mapping:
  90. - dps_val: normal
  91. value: normal
  92. - dps_val: strong
  93. value: strong
  94. - id: 18
  95. type: bitfield
  96. name: error
  97. secondary_entities:
  98. - entity: sensor
  99. class: battery
  100. dps:
  101. - id: 6
  102. type: integer
  103. name: sensor
  104. unit: "%"
  105. class: measurement
  106. optional: true
  107. - entity: sensor
  108. name: Edge brush
  109. category: diagnostic
  110. dps:
  111. - id: 7
  112. type: integer
  113. name: sensor
  114. unit: "%"
  115. class: measurement
  116. - entity: sensor
  117. name: Filter
  118. category: diagnostic
  119. dps:
  120. - id: 9
  121. type: integer
  122. name: sensor
  123. unit: "%"
  124. class: measurement
  125. - entity: button
  126. name: Reset edge brush
  127. class: restart
  128. category: config
  129. dps:
  130. - id: 10
  131. type: boolean
  132. name: button
  133. - entity: button
  134. name: Reset filter
  135. class: restart
  136. category: config
  137. dps:
  138. - id: 12
  139. type: boolean
  140. name: button
  141. - entity: sensor
  142. name: Clean area
  143. category: diagnostic
  144. dps:
  145. - id: 16
  146. type: integer
  147. name: sensor
  148. unit: m2
  149. class: measurement
  150. - id: 15
  151. type: string
  152. optional: true
  153. name: clean_record
  154. - entity: sensor
  155. name: Clean time
  156. class: duration
  157. category: diagnostic
  158. dps:
  159. - id: 17
  160. type: integer
  161. name: sensor
  162. unit: min
  163. class: measurement
  164. - entity: select
  165. name: Mop control
  166. icon: "mdi:format-color-fill"
  167. category: config
  168. dps:
  169. - id: 20
  170. type: string
  171. name: option
  172. mapping:
  173. - dps_val: low
  174. value: Low
  175. - dps_val: middle
  176. value: Medium
  177. - dps_val: high
  178. value: High
  179. - entity: button
  180. name: Factory reset
  181. category: config
  182. dps:
  183. - id: 101
  184. type: boolean
  185. name: button