From 0466dd8b2ac1ad541a11be4dc793349e026bab02 Mon Sep 17 00:00:00 2001 From: Benji Date: Sat, 18 Nov 2017 00:22:30 +0100 Subject: [PATCH] Update CLI to use new dirty sensor value --- miio/vacuum_cli.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/miio/vacuum_cli.py b/miio/vacuum_cli.py index 618cd42e2..5303b9840 100644 --- a/miio/vacuum_cli.py +++ b/miio/vacuum_cli.py @@ -141,7 +141,8 @@ def consumables(vac: miio.Vacuum): res.side_brush_left)) click.echo("Filter: %s (left %s)" % (res.filter, res.filter_left)) - click.echo("Sensor dirty: %s" % res.sensor_dirty) + click.echo("Sensor dirty: %s (left %s)" % (res.sensor_dirty, + res.sensor_dirty_left)) @cli.command()