You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Saros Z70 brush and filter life percentages are treated as elapsed seconds #1098
When my Saros Z70 starts cleaning, the main brush, side brush and filter briefly appear almost new in Home Assistant. In one run, the main brush went from 101 h remaining to 300 h. About 41 seconds later, the next full consumables update restored the 101 h reading.
I observed this on a Saros Z70 (roborock.vacuum.a179, firmware 02.64.56) with Home Assistant Core 2026.11.2 and python-roborock 7.12.0. The standalone example below also reproduces it on 7.26.1 and 7.38.0.
Device readings
The product schema gives these three DPS fields a range of 0–100. The device status values match the percentage of life remaining, while get_consumable reports cumulative work time in seconds.
With python-roborock==7.38.0 installed, this runs offline.
fromroborock.devices.traits.v1.consumeableimportConsumableTraitfromroborock.roborock_messageimportRoborockDataProtocolconsumables=ConsumableTrait()
consumables.main_brush_work_time=717_768# Elapsed seconds from the full readprint(consumables.main_brush_time_left) # 362232 seconds, about 101 hconsumables.update_from_dps({RoborockDataProtocol(125): 34})
print(consumables.main_brush_time_left) # 1079966 seconds, about 300 h
Expected behavior
A push reporting 34% main-brush life should keep the remaining time around one third of its 300 h lifetime. On this model, retaining the last polled work time until the next full read would preserve that estimate. Currently the push overwrites the work-time field, so the library subtracts 34 seconds from 300 h. DPS field mapping and remaining-time calculation · DPS update handler
Activity