Skip to content

Commit

Permalink
The array of on states is retured by get_is_on, not is_on
Browse files Browse the repository at this point in the history
  • Loading branch information
dberlin committed Jul 25, 2019
1 parent 2d60467 commit ef83516
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyHS100/cli.py
Expand Up @@ -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(
Expand Down

0 comments on commit ef83516

Please sign in to comment.