lefant_ls1_vacuum.yaml 2.8 KB

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