mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-10-13 10:58:02 +00:00
Support wifi scan & join for bulbs using a different interface (#49)
This commit is contained in:
@@ -106,7 +106,7 @@ async def scan(dev):
|
||||
@pass_dev
|
||||
async def join(dev: SmartDevice, ssid, password, keytype):
|
||||
"""Join the given wifi network."""
|
||||
click.echo("Asking the device to connect to {ssid}.." % (ssid))
|
||||
click.echo(f"Asking the device to connect to {ssid}..")
|
||||
res = await dev.wifi_join(ssid, password, keytype=keytype)
|
||||
click.echo(
|
||||
f"Response: {res} - if the device is not able to join the network, it will revert back to its previous state."
|
||||
|
Reference in New Issue
Block a user