Skip to content

Commit

Permalink
Fix "miplug discover" method (Closes: rytilahti#339)
Browse files Browse the repository at this point in the history
  • Loading branch information
syssi committed Jun 18, 2018
1 parent fb595be commit f070ec4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion miio/plug_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def cli(ctx, ip: str, token: str, debug: int):
@cli.command()
def discover():
"""Search for plugs in the network."""
miio.Plug.discover()
miio.ChuangmiPlug.discover()


@cli.command()
Expand Down

0 comments on commit f070ec4

Please sign in to comment.