Deebot-4-Home-Assistant
Deebot-4-Home-Assistant copied to clipboard
Add new entities for clean count, true detect, and clean preference
As discussed in #254. Closes #254
Depends on changes in https://github.com/DeebotUniverse/client.py/pull/163 to be merged & released.
Adds 3 new entities:
- TrueDetect switch: Enable/Disable "True Detect Obstacle Avoidance" technology
- Clean Count: Set the number of times to clean the area. From testing any integer works - it's possible to clean areas more than twice!
- Clean Preference switch: Enable/Disable "Auto cleaning" mode - I named the switch after the API name, but happy to change this to "Cleaning Preference" to align more closely with the terminology used in the app.

What really happens when yo switch Clean Preference? I cannot find this option on my bot
What really happens when yo switch Clean Preference?
It turns on automatic cleaning preference, which essentially is clean count/vacuum power/water flow levels specified on a per-room basis in the app, allowing for more refined cleaning, rather than a one sized fits every room approach.
![]() |
I would love that my model would support this too... Do you know, if there is a possibility to find out, which command are supported by which model?
Wow I am surprised it is not a feature on all robots! I am not sure there is a way in the API to determine whether it supports it or not, but I would guess that maybe the call to getCleanPreference
might fail on unsupported robots? It's hard for me to know since I only have the Ozmo T8.
Will release the client library this weekend, sorry for the delay 😊
Sorry I have forgotten to notify you. The new library version is already included in the dev branch. Can you merge it in your branch?
Can you tell me please the class of your model? So I will activate these sensor only for your model until we have setup proper knowledgebase in the library
Just merged in dev
into this PR.
Can you tell me please the class of your model?
Yep it's a Deebot Osmo T8
Started primarily using this integration over the weekend! Works great. I think I'll likely archive my own project(s) - deebot-t8 and deebot-t8-hass and link to this project as it has much better support for other robots.
👍