lefant_ls1_vacuum.yaml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. name: Robot vacuum
  2. products:
  3. - id: 4tt4wulynvwcqicp
  4. manufacturer: Lefant
  5. model: LS1 Pro
  6. entities:
  7. - entity: vacuum
  8. dps:
  9. - id: 1
  10. type: boolean
  11. name: power
  12. - id: 2
  13. type: boolean
  14. name: activate
  15. - id: 3
  16. type: boolean
  17. name: charge
  18. - id: 4
  19. type: string
  20. name: command
  21. mapping:
  22. - dps_val: smart
  23. value: smart
  24. - dps_val: chargego
  25. value: return_to_base
  26. - dps_val: zone
  27. value: clean_spot
  28. - dps_val: pose
  29. value: pause
  30. - id: 5
  31. type: string
  32. name: status
  33. mapping:
  34. - dps_val: standby
  35. value: standby
  36. - dps_val: zone_clean
  37. value: zone
  38. - dps_val: part_clean
  39. value: partial
  40. - dps_val: cleaning
  41. value: cleaning
  42. - dps_val: paused
  43. value: paused
  44. - dps_val: goto_pos
  45. value: seeking_spot
  46. - dps_val: pos_arrived
  47. value: located_spot
  48. - dps_val: pos_unarrive
  49. value: left_spot
  50. - dps_val: goto_charge
  51. value: returning
  52. - dps_val: charging
  53. value: charging
  54. - dps_val: charge_done
  55. value: charged
  56. - dps_val: sleep
  57. value: sleep
  58. - id: 9
  59. type: string
  60. name: fan_speed
  61. mapping:
  62. - dps_val: gentle
  63. value: Low
  64. - dps_val: normal
  65. value: Medium
  66. - dps_val: strong
  67. value: High
  68. - id: 11
  69. type: boolean
  70. name: locate
  71. optional: true
  72. - id: 12
  73. type: string
  74. name: direction_control
  75. optional: true
  76. mapping:
  77. - dps_val: forward
  78. value: forward
  79. - dps_val: backward
  80. value: reverse
  81. - dps_val: turn_left
  82. value: left
  83. - dps_val: turn_right
  84. value: right
  85. - dps_val: stop
  86. value: stop
  87. - id: 27
  88. type: boolean
  89. name: break_clean
  90. - id: 28
  91. type: bitfield
  92. name: error
  93. hidden: true
  94. - entity: sensor
  95. name: Clean time
  96. class: duration
  97. category: diagnostic
  98. dps:
  99. - id: 6
  100. type: integer
  101. name: sensor
  102. unit: min
  103. - entity: sensor
  104. name: Clean area
  105. class: area
  106. category: diagnostic
  107. dps:
  108. - id: 7
  109. type: integer
  110. name: sensor
  111. unit: m2
  112. mapping:
  113. - scale: 10
  114. - entity: sensor
  115. class: battery
  116. dps:
  117. - id: 8
  118. type: integer
  119. name: sensor
  120. unit: "%"
  121. class: measurement
  122. - entity: sensor
  123. name: Water tank
  124. category: diagnostic
  125. class: enum
  126. icon: "mdi:cup-water"
  127. dps:
  128. - id: 10
  129. type: string
  130. name: sensor
  131. mapping:
  132. - dps_val: low
  133. value: Low
  134. - dps_val: middle
  135. value: Medium
  136. - dps_val: high
  137. value: High
  138. - entity: binary_sensor
  139. class: problem
  140. category: diagnostic
  141. dps:
  142. - id: 28
  143. type: bitfield
  144. name: sensor
  145. mapping:
  146. - dps_val: 0
  147. value: false
  148. - value: true
  149. - id: 28
  150. type: bitfield
  151. name: fault_code