lefant_ls1_vacuum.yaml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  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: 8
  58. type: integer
  59. name: battery
  60. - id: 9
  61. type: string
  62. name: fan_speed
  63. mapping:
  64. - dps_val: gentle
  65. value: Low
  66. - dps_val: normal
  67. value: Medium
  68. - dps_val: strong
  69. value: High
  70. - id: 11
  71. type: boolean
  72. name: locate
  73. optional: true
  74. - id: 12
  75. type: string
  76. name: direction_control
  77. optional: true
  78. mapping:
  79. - dps_val: forward
  80. value: forward
  81. - dps_val: backward
  82. value: reverse
  83. - dps_val: turn_left
  84. value: left
  85. - dps_val: turn_right
  86. value: right
  87. - dps_val: stop
  88. value: stop
  89. - id: 27
  90. type: boolean
  91. name: break_clean
  92. - id: 28
  93. type: bitfield
  94. name: error
  95. secondary_entities:
  96. - entity: sensor
  97. name: Clean time
  98. class: duration
  99. category: diagnostic
  100. dps:
  101. - id: 6
  102. type: integer
  103. name: sensor
  104. unit: min
  105. - entity: sensor
  106. name: Clean area
  107. category: diagnostic
  108. icon: "mdi:floor-plan"
  109. dps:
  110. - id: 7
  111. type: integer
  112. name: sensor
  113. unit: m2
  114. mapping:
  115. - scale: 10
  116. - entity: sensor
  117. name: Water tank
  118. category: diagnostic
  119. class: enum
  120. icon: "mdi:cup-water"
  121. dps:
  122. - id: 10
  123. type: string
  124. mapping:
  125. - dps_val: low
  126. value: Low
  127. - dps_val: middle
  128. value: Medium
  129. - dps_val: high
  130. value: High