DeebotUniverse / docs

https://deebot.readthedocs.io
GNU General Public License v3.0
33 stars 9 forks source link

number clean_count entity #254

Closed harphere closed 10 months ago

harphere commented 10 months ago

I have a Deebot Ozmo T8 which exposes a number.{vacuum}_clean_count entity but this number does not increment, it stays constant at '1'. I think it should increment after each completed cleaning cycle. Is this something you can kindly look into?

image

edenhaus commented 10 months ago

The sensor stats_total_cleanings counts the total cleanings. The number entity specifies how often a room should be cleaned in one cycle. Maybe I should rename it

harphere commented 10 months ago

Ah, got it. Is there a way to reset stats_total_cleanings? I'd like to have a notification to empty the vacuum after x cleanings.

edenhaus commented 10 months ago

I don't think so as the app does not have this functionality. But I think it could be easily solved in HA. Create an input helper number, where you store the total number when you have emptied the vacuum. Create an automation, that notifies you, when the total number of the sensor is larger by 20 as the input helper number. You could use also a custom button to store the total cleanings in the input helper when you press the button.