From fa0c2d82e8671df42dc82d7c27b86552a1b86235 Mon Sep 17 00:00:00 2001 From: Daniel Berlin Date: Wed, 24 Jul 2019 21:17:13 -0700 Subject: [PATCH] Fix CLI for HS300 (#177) --- pyHS100/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyHS100/cli.py b/pyHS100/cli.py index 8afc89e3..e8bab02a 100755 --- a/pyHS100/cli.py +++ b/pyHS100/cli.py @@ -164,7 +164,7 @@ def state(ctx, dev): ) ) if dev.num_children > 0: - is_on = dev.is_on() + is_on = dev.get_is_on() aliases = dev.get_alias() for child in range(dev.num_children): click.echo(