lefant_m213_vacuum.yaml 3.3 KB

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