mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-22 19:23:34 +00:00
Add trigger_logs and double_click to dump_devinfo helper (#1208)
This commit is contained in:
parent
450bcf0bde
commit
7483411ca2
@ -702,14 +702,6 @@ async def get_smart_test_calls(protocol: SmartProtocol):
|
||||
should_succeed=False,
|
||||
child_device_id="",
|
||||
),
|
||||
SmartCall(
|
||||
module="trigger_logs",
|
||||
request=SmartRequest.get_raw_request(
|
||||
"get_trigger_logs", SmartRequest.GetTriggerLogsParams()
|
||||
).to_dict(),
|
||||
should_succeed=False,
|
||||
child_device_id="",
|
||||
),
|
||||
]
|
||||
|
||||
click.echo("Testing component_nego call ..", nl=False)
|
||||
|
@ -408,6 +408,12 @@ COMPONENT_REQUESTS = {
|
||||
SmartRequest.get_raw_request("get_alarm_configure"),
|
||||
],
|
||||
"alarm_logs": [SmartRequest.get_raw_request("get_alarm_triggers")],
|
||||
"trigger_log": [
|
||||
SmartRequest.get_raw_request(
|
||||
"get_trigger_logs", SmartRequest.GetTriggerLogsParams()
|
||||
)
|
||||
],
|
||||
"double_click": [SmartRequest.get_raw_request("get_double_click_info")],
|
||||
"child_device": [
|
||||
SmartRequest.get_raw_request("get_child_device_list"),
|
||||
SmartRequest.get_raw_request("get_child_device_component_list"),
|
||||
|
Loading…
Reference in New Issue
Block a user