From 602720b2fc909b3b44178fc481da2a52e39b36d9 Mon Sep 17 00:00:00 2001 From: Teemu Rytilahti Date: Fri, 29 Nov 2024 21:15:29 +0100 Subject: [PATCH] dump_devinfo: camelCase vacuum commands --- devtools/helpers/smartrequests.py | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/devtools/helpers/smartrequests.py b/devtools/helpers/smartrequests.py index 20b1300e..6ab53937 100644 --- a/devtools/helpers/smartrequests.py +++ b/devtools/helpers/smartrequests.py @@ -427,25 +427,25 @@ COMPONENT_REQUESTS = { "overheat_protection": [], # Vacuum components "clean": [ - SmartRequest.get_raw_request("get_clean_records"), - SmartRequest.get_raw_request("get_vac_state"), + SmartRequest.get_raw_request("getCleanRecords"), + SmartRequest.get_raw_request("getVacStatus"), ], - "battery": [SmartRequest.get_raw_request("get_battery_info")], - "consumables": [SmartRequest.get_raw_request("get_consumables_info")], + "battery": [SmartRequest.get_raw_request("getBatteryInfo")], + "consumables": [SmartRequest.get_raw_request("getConsumablesInfo")], "direction_control": [], "button_and_led": [], "speaker": [ - SmartRequest.get_raw_request("get_support_voice_language"), - SmartRequest.get_raw_request("get_current_voice_language"), + SmartRequest.get_raw_request("getSupportVoiceLanguage"), + SmartRequest.get_raw_request("getCurrentVoiceLanguage"), ], "map": [ - SmartRequest.get_raw_request("get_map_info"), - SmartRequest.get_raw_request("get_map_data"), + SmartRequest.get_raw_request("getMapInfo"), + SmartRequest.get_raw_request("getMapData"), ], - "auto_change_map": [SmartRequest.get_raw_request("get_auto_change_map")], - "dust_bucket": [SmartRequest.get_raw_request("get_auto_dust_collection")], - "mop": [SmartRequest.get_raw_request("get_mop_state")], - "do_not_disturb": [SmartRequest.get_raw_request("get_do_not_disturb")], + "auto_change_map": [SmartRequest.get_raw_request("getAutoChangeMap")], + "dust_bucket": [SmartRequest.get_raw_request("getAutoDustCollection")], + "mop": [SmartRequest.get_raw_request("getMopState")], + "do_not_disturb": [SmartRequest.get_raw_request("getDoNotDisturb")], "charge_pose_clean": [], "continue_breakpoint_sweep": [], "goto_point": [],