Skip to content

Commit

Permalink
deprecate old helper scripts in favor of miiocli
Browse files Browse the repository at this point in the history
  • Loading branch information
rytilahti committed Jul 13, 2021
1 parent 1d5536d commit 34a8842
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions miio/ceil_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ def cli(ctx, ip: str, token: str, debug: int):
else:
logging.basicConfig(level=logging.INFO)

_LOGGER.warning(
"This script is deprecated and will be removed soon, use `miiocli ceil` instead"
)

# if we are scanning, we do not try to connect.
if ctx.invoked_subcommand == "discover":
return
Expand Down
4 changes: 4 additions & 0 deletions miio/philips_eyecare_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ def cli(ctx, ip: str, token: str, debug: int):
else:
logging.basicConfig(level=logging.INFO)

_LOGGER.warning(
"This script is deprecated and will be removed soon, use `miiocli philipseyecare` instead"
)

# if we are scanning, we do not try to connect.
if ctx.invoked_subcommand == "discover":
return
Expand Down
4 changes: 4 additions & 0 deletions miio/plug_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ def cli(ctx, ip: str, token: str, debug: int):
else:
logging.basicConfig(level=logging.INFO)

_LOGGER.warning(
"This script is deprecated and will be removed soon, use `miiocli chuangmiplug` instead"
)

# if we are scanning, we do not try to connect.
if ctx.invoked_subcommand == "discover":
return
Expand Down

0 comments on commit 34a8842

Please sign in to comment.