lefant_t700_vacuum.yaml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. name: Robot vacuum
  2. products:
  3. - id: izivjmyjsajl9jdh
  4. name: Lefant T700
  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: string
  16. name: command
  17. mapping:
  18. - dps_val: standby
  19. value: stop
  20. - dps_val: smart
  21. value: smart
  22. - dps_val: wall_follow
  23. value: wall_follow
  24. - dps_val: spiral
  25. value: clean_spot
  26. - dps_val: chargego
  27. value: return_to_base
  28. - dps_val: random
  29. value: random
  30. - id: 4
  31. type: string
  32. optional: true
  33. name: direction_control
  34. mapping:
  35. - dps_val: forward
  36. value: forward
  37. - dps_val: backward
  38. value: reverse
  39. - dps_val: turn_left
  40. value: turn_left
  41. - dps_val: turn_right
  42. value: turn_right
  43. - dps_val: stop
  44. value: stop
  45. - id: 5
  46. type: string
  47. name: status
  48. mapping:
  49. - dps_val: "0"
  50. value: standby
  51. - dps_val: "1"
  52. value: cleaning
  53. - dps_val: "2"
  54. value: mopping
  55. - dps_val: "3"
  56. value: edge_cleaning
  57. - dps_val: "4"
  58. value: charging
  59. - dps_val: "5"
  60. value: charged
  61. - dps_val: "6"
  62. value: spot_cleaning
  63. - id: 13
  64. type: boolean
  65. optional: true
  66. name: locate
  67. - id: 15
  68. type: string
  69. name: clean_record
  70. - id: 18
  71. type: bitfield
  72. name: error
  73. hidden: true
  74. - id: 19
  75. type: string
  76. optional: true
  77. name: map_config
  78. secondary_entities:
  79. - entity: sensor
  80. class: battery
  81. category: diagnostic
  82. dps:
  83. - id: 6
  84. type: integer
  85. name: sensor
  86. unit: "%"
  87. - entity: sensor
  88. name: Clean area
  89. class: area
  90. category: diagnostic
  91. dps:
  92. - id: 16
  93. type: integer
  94. name: sensor
  95. unit: m2
  96. - entity: sensor
  97. name: Clean time
  98. class: duration
  99. category: diagnostic
  100. dps:
  101. - id: 17
  102. type: integer
  103. name: sensor
  104. unit: min
  105. - entity: binary_sensor
  106. class: problem
  107. category: diagnostic
  108. dps:
  109. - id: 18
  110. type: bitfield
  111. name: sensor
  112. mapping:
  113. - dps_val: 0
  114. value: false
  115. - value: true
  116. - id: 18
  117. type: bitfield
  118. name: fault_code
  119. - entity: select
  120. translation_key: mopping
  121. category: config
  122. dps:
  123. - id: 101
  124. type: string
  125. name: option
  126. mapping:
  127. - dps_val: low
  128. value: low
  129. - dps_val: nar
  130. value: medium
  131. - dps_val: high
  132. value: high