Remove experimental support (#1256)

This commit is contained in:
Steven B.
2024-11-14 14:55:02 +00:00
committed by GitHub
parent 6213b90f62
commit b8f6651d9b
6 changed files with 5 additions and 100 deletions

View File

@@ -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)