mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-01-08 22:07:06 +00:00
Fix CLI for HS300 (#177)
This commit is contained in:
parent
2d60467bea
commit
fa0c2d82e8
@ -164,7 +164,7 @@ def state(ctx, dev):
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
if dev.num_children > 0:
|
if dev.num_children > 0:
|
||||||
is_on = dev.is_on()
|
is_on = dev.get_is_on()
|
||||||
aliases = dev.get_alias()
|
aliases = dev.get_alias()
|
||||||
for child in range(dev.num_children):
|
for child in range(dev.num_children):
|
||||||
click.echo(
|
click.echo(
|
||||||
|
Loading…
Reference in New Issue
Block a user