lefant_m213_vacuum.yaml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. name: Lefant M213 vacuum
  2. primary_entity:
  3. entity: vacuum
  4. dps:
  5. - id: 1
  6. type: boolean
  7. name: power
  8. - id: 2
  9. type: boolean
  10. name: activate
  11. - id: 3
  12. type: string
  13. name: command
  14. mapping:
  15. - dps_val: standby
  16. value: standby
  17. - dps_val: smart
  18. value: smart
  19. - dps_val: chargego
  20. value: return_to_base
  21. - dps_val: random
  22. value: random
  23. - dps_val: wall_follow
  24. value: wall_follow
  25. - dps_val: spiral
  26. value: clean_spot
  27. - id: 4
  28. type: string
  29. name: direction_control
  30. mapping:
  31. - dps_val: forward
  32. value: forward
  33. - dps_val: backward
  34. value: reverse
  35. - dps_val: turn_left
  36. value: left
  37. - dps_val: turn_right
  38. value: right
  39. - dps_val: stop
  40. value: stop
  41. - id: 5
  42. type: string
  43. name: status
  44. mapping:
  45. - dps_val: "0"
  46. value: paused
  47. - dps_val: "1"
  48. value: smart
  49. - dps_val: "2"
  50. value: wall follow
  51. - dps_val: "3"
  52. value: spiral
  53. - dps_val: "4"
  54. value: returning
  55. - dps_val: "5"
  56. value: charging
  57. - dps_val: "6"
  58. value: random
  59. - dps_val: "7"
  60. value: standby
  61. - id: 6
  62. name: battery
  63. type: integer
  64. readonly: true
  65. - id: 13
  66. type: boolean
  67. name: locate
  68. - id: 15
  69. type: string
  70. name: clean_record
  71. readonly: true
  72. optional: true
  73. - id: 18
  74. type: bitfield
  75. name: error
  76. mapping:
  77. - dps_val: 1
  78. value: edge_sweep
  79. - dps_val: 2
  80. value: middle_sweep
  81. - dps_val: 4
  82. value: left_wheel
  83. - dps_val: 8
  84. value: right_wheel
  85. - dps_val: 16
  86. value: garbage_box
  87. - dps_val: 32
  88. value: land_check
  89. - dps_val: 64
  90. value: collision
  91. - dps_val: 512
  92. value: low_battery
  93. - dps_val: 1024
  94. value: stuck
  95. - id: 19
  96. type: string
  97. name: map_parameter
  98. optional: true
  99. - id: 101
  100. type: string
  101. name: fan_speed
  102. mapping:
  103. - dps_val: low
  104. value: Low
  105. - dps_val: nar
  106. value: Medium
  107. - dps_val: high
  108. value: High
  109. - id: 102
  110. type: integer
  111. name: chassis_temperature
  112. - id: 103
  113. type: integer
  114. name: heading
  115. - id: 104
  116. type: integer
  117. name: iic_error_count
  118. - id: 105
  119. type: string
  120. name: wheel_status
  121. optional: true
  122. - id: 106
  123. type: string
  124. name: dock_info
  125. optional: true
  126. - id: 107
  127. type: string
  128. name: robot_status
  129. optional: true
  130. - id: 108
  131. type: string
  132. name: robot_info
  133. optional: true
  134. secondary_entities:
  135. - entity: sensor
  136. name: Clean area
  137. category: diagnostic
  138. icon: "mdi:floor-plan"
  139. dps:
  140. - id: 16
  141. type: integer
  142. name: sensor
  143. unit: m2
  144. - entity: sensor
  145. name: Clean time
  146. category: diagnostic
  147. icon: "mdi:clock-outline"
  148. dps:
  149. - id: 17
  150. type: integer
  151. name: sensor
  152. unit: min