medion_s10_vacuum.yaml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. name: Robot vacuum
  2. products:
  3. - id: dxzaldz77vzlxauh
  4. manufacturer: Medion
  5. model: S10 SW
  6. model_id: MD19601
  7. entities:
  8. - entity: vacuum
  9. dps:
  10. - id: 1
  11. type: boolean
  12. name: power
  13. optional: true
  14. - id: 2
  15. type: boolean
  16. name: activate
  17. optional: true
  18. - id: 3
  19. type: string
  20. name: command
  21. mapping:
  22. - dps_val: standby
  23. value: stop
  24. - dps_val: spiral
  25. value: clean_spot
  26. - dps_val: smart
  27. value: smart
  28. - dps_val: chargego
  29. value: return_to_base
  30. - dps_val: wall_follow
  31. value: wall_follow
  32. - id: 4
  33. type: string
  34. name: direction_control
  35. mapping:
  36. - dps_val: forward
  37. value: forward
  38. - dps_val: backward
  39. value: reverse
  40. - dps_val: turn_left
  41. value: left
  42. - dps_val: turn_right
  43. value: right
  44. - dps_val: stop
  45. value: stop
  46. - id: 5
  47. type: string
  48. name: status
  49. mapping:
  50. - dps_val: "0"
  51. value: standby
  52. - dps_val: "1"
  53. value: smart
  54. - dps_val: "3"
  55. value: wall_follow
  56. - dps_val: "4"
  57. value: returning_to_base
  58. - dps_val: "5"
  59. value: charging
  60. - dps_val: "6"
  61. value: clean_spot
  62. - id: 13
  63. type: boolean
  64. name: locate
  65. optional: true
  66. - id: 14
  67. type: string
  68. name: fan_speed
  69. mapping:
  70. - dps_val: quiet
  71. value: quiet
  72. - dps_val: normal
  73. value: normal
  74. - dps_val: strong
  75. value: strong
  76. - id: 18
  77. type: bitfield
  78. optional: true
  79. name: error
  80. hidden: true
  81. - entity: sensor
  82. class: battery
  83. dps:
  84. - id: 6
  85. type: integer
  86. name: sensor
  87. unit: "%"
  88. class: measurement
  89. - entity: sensor
  90. name: Clean area
  91. class: area
  92. category: diagnostic
  93. dps:
  94. - id: 16
  95. type: integer
  96. name: sensor
  97. unit: m2
  98. class: measurement
  99. - id: 15
  100. type: string
  101. optional: true
  102. name: clean_record
  103. - entity: sensor
  104. name: Clean time
  105. class: duration
  106. category: diagnostic
  107. dps:
  108. - id: 17
  109. type: integer
  110. name: sensor
  111. unit: min
  112. class: measurement
  113. - entity: binary_sensor
  114. class: problem
  115. category: diagnostic
  116. dps:
  117. - id: 18
  118. type: bitfield
  119. optional: true
  120. name: sensor
  121. mapping:
  122. - dps_val: 0
  123. value: false
  124. - value: true
  125. - id: 18
  126. type: bitfield
  127. optional: true
  128. name: fault_code