rinkmo_d2_vacuum.yaml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. name: Robot vacuum
  2. products:
  3. - id: lq0g9hpampbedce0
  4. manufacturer: Rinkmo
  5. model: D2
  6. entities:
  7. - entity: vacuum
  8. dps:
  9. - id: 2
  10. name: activate
  11. type: boolean
  12. - id: 3
  13. name: command
  14. type: string
  15. mapping:
  16. - dps_val: standby
  17. value: stop
  18. - dps_val: smart
  19. value: smart
  20. - dps_val: wall_follow
  21. value: wall_follow
  22. - dps_val: spiral
  23. value: clean_spot
  24. - dps_val: chargego
  25. value: return_to_base
  26. - id: 4
  27. type: string
  28. name: direction_control
  29. mapping:
  30. - dps_val: forward
  31. value: forward
  32. - dps_val: backward
  33. value: reverse
  34. - dps_val: turn_left
  35. value: left
  36. - dps_val: turnn_right
  37. value: right
  38. - dps_val: stop
  39. value: stop
  40. - id: 5
  41. type: string
  42. name: status
  43. mapping:
  44. - dps_val: standby
  45. value: standby
  46. - dps_val: smart_clean
  47. value: cleaning
  48. - dps_val: wall_clean
  49. value: cleaning
  50. - dps_val: spot_clean
  51. value: cleaning
  52. - dps_val: goto_charge
  53. value: returning
  54. - dps_val: charging
  55. value: charging
  56. - dps_val: charge_done
  57. value: standby
  58. - dps_val: paused
  59. value: paused
  60. - id: 13
  61. type: boolean
  62. name: locate
  63. - id: 18
  64. type: bitfield
  65. name: error
  66. hidden: true
  67. - entity: sensor
  68. class: battery
  69. dps:
  70. - id: 6
  71. type: integer
  72. name: sensor
  73. unit: "%"
  74. class: measurement
  75. - entity: binary_sensor
  76. class: problem
  77. category: diagnostic
  78. dps:
  79. - id: 18
  80. type: bitfield
  81. name: sensor
  82. mapping:
  83. - dps_val: 0
  84. value: false
  85. - value: true
  86. - id: 18
  87. type: bitfield
  88. name: fault_code
  89. - id: 18
  90. type: bitfield
  91. name: description
  92. mapping:
  93. - dps_val: 0
  94. value: ok
  95. - dps_val: 1
  96. value: edge_sweep
  97. - dps_val: 2
  98. value: middle_sweep
  99. - dps_val: 4
  100. value: left_wheel
  101. - dps_val: 8
  102. value: right_wheel
  103. - dps_val: 16
  104. value: garbage_box
  105. - dps_val: 32
  106. value: land_check
  107. - dps_val: 64
  108. value: collision