mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-08-08 03:34:02 +00:00
Add new cli command 'command' to execute arbitrary commands (#692)
* Add new cli command 'command' to execute arbitrary commands This deprecates 'raw-command', which requires positional argument for module, in favor of new 'command' that accepts '--module' option for IOT devices. * Pull block list to the module level
This commit is contained in:
@@ -63,7 +63,7 @@ class Emeter(Usage):
|
||||
self,
|
||||
data: List[Dict[str, Union[int, float]]],
|
||||
entry_key: str,
|
||||
kwh: bool=True,
|
||||
kwh: bool = True,
|
||||
key: Optional[int] = None,
|
||||
) -> Dict[Union[int, float], Union[int, float]]:
|
||||
"""Return emeter information keyed with the day/month.
|
||||
|
Reference in New Issue
Block a user