mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-08-04 09:44:14 +00:00
Remove experimental support (#1256)
This commit is contained in:
@@ -309,10 +309,6 @@ async def cli(
|
||||
if debug:
|
||||
logging.basicConfig(level=logging.DEBUG)
|
||||
|
||||
from kasa.experimental import Experimental
|
||||
|
||||
Experimental.set_enabled(True)
|
||||
|
||||
credentials = Credentials(username=username, password=password)
|
||||
if host is not None:
|
||||
if discovery_info:
|
||||
@@ -356,8 +352,7 @@ async def cli(
|
||||
await handle_device(basedir, autosave, protocol, batch_size=batch_size)
|
||||
else:
|
||||
raise KasaException(
|
||||
"Could not find a protocol for the given parameters. "
|
||||
+ "Maybe you need to enable --experimental."
|
||||
"Could not find a protocol for the given parameters."
|
||||
)
|
||||
else:
|
||||
click.echo("Host given, performing discovery on %s." % host)
|
||||
|
Reference in New Issue
Block a user