medion_s10_vacuum.yaml 2.6 KB

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