medion_s20_vacuum.yaml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  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. secondary_entities:
  95. - entity: sensor
  96. class: battery
  97. dps:
  98. - id: 6
  99. type: integer
  100. name: sensor
  101. unit: "%"
  102. class: measurement
  103. optional: true
  104. - entity: sensor
  105. name: Edge brush
  106. category: diagnostic
  107. dps:
  108. - id: 7
  109. type: integer
  110. name: sensor
  111. unit: "%"
  112. class: measurement
  113. - entity: sensor
  114. name: Filter
  115. category: diagnostic
  116. dps:
  117. - id: 9
  118. type: integer
  119. name: sensor
  120. unit: "%"
  121. class: measurement
  122. - entity: button
  123. name: Reset edge brush
  124. class: restart
  125. category: config
  126. dps:
  127. - id: 10
  128. type: boolean
  129. name: button
  130. - entity: button
  131. name: Reset filter
  132. class: restart
  133. category: config
  134. dps:
  135. - id: 12
  136. type: boolean
  137. name: button
  138. - entity: sensor
  139. name: Clean area
  140. class: area
  141. category: diagnostic
  142. dps:
  143. - id: 16
  144. type: integer
  145. name: sensor
  146. unit: m2
  147. class: measurement
  148. - id: 15
  149. type: string
  150. optional: true
  151. name: clean_record
  152. - entity: sensor
  153. name: Clean time
  154. class: duration
  155. category: diagnostic
  156. dps:
  157. - id: 17
  158. type: integer
  159. name: sensor
  160. unit: min
  161. class: measurement
  162. - entity: binary_sensor
  163. class: problem
  164. category: diagnostic
  165. dps:
  166. - id: 18
  167. type: bitfield
  168. name: sensor
  169. mapping:
  170. - dps_val: 0
  171. value: false
  172. - value: true
  173. - id: 18
  174. type: bitfield
  175. name: fault_code
  176. - entity: select
  177. translation_key: mopping
  178. category: config
  179. dps:
  180. - id: 20
  181. type: string
  182. name: option
  183. mapping:
  184. - dps_val: low
  185. value: low
  186. - dps_val: middle
  187. value: medium
  188. - dps_val: high
  189. value: high
  190. - entity: button
  191. translation_key: factory_reset
  192. category: config
  193. dps:
  194. - id: 101
  195. type: boolean
  196. name: button