mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-08-04 09:44:14 +00:00
Allow enabling experimental devices from environment variable (#1194)
This commit is contained in:
@@ -309,9 +309,9 @@ async def cli(
|
||||
if debug:
|
||||
logging.basicConfig(level=logging.DEBUG)
|
||||
|
||||
from kasa.experimental.enabled import Enabled
|
||||
from kasa.experimental import Experimental
|
||||
|
||||
Enabled.set(True)
|
||||
Experimental.set_enabled(True)
|
||||
|
||||
credentials = Credentials(username=username, password=password)
|
||||
if host is not None:
|
||||
|
Reference in New Issue
Block a user