From 304b51645e168eb0d69fc6ca7c5b722838010e70 Mon Sep 17 00:00:00 2001 From: michael-bohr Date: Sat, 31 Oct 2026 19:42:10 -0400 Subject: [PATCH] Add HS200(US) hw 1.0 fw 1.2.6 fixture (#1820) --- SUPPORTED.md | 1 + tests/fixtures/iot/HS200(US)_1.0_1.2.6.json | 58 +++++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 tests/fixtures/iot/HS200(US)_1.0_1.2.6.json diff --git a/SUPPORTED.md b/SUPPORTED.md index 6d4f04c5..34a5ceae 100644 --- a/SUPPORTED.md +++ b/SUPPORTED.md @@ -90,6 +90,7 @@ Some newer Kasa devices require authentication. These are marked with [^1] in th - Hardware: 1.0 (US) / Firmware: 1.0.11 - Hardware: 1.0 (US) / Firmware: 1.0.8 - **HS200** + - Hardware: 1.0 (US) / Firmware: 1.2.6 - Hardware: 2.0 (US) / Firmware: 1.5.7 - Hardware: 3.0 (US) / Firmware: 1.1.5 - Hardware: 5.0 (US) / Firmware: 1.0.11 diff --git a/tests/fixtures/iot/HS200(US)_1.0_1.2.6.json b/tests/fixtures/iot/HS200(US)_1.0_1.2.6.json new file mode 100644 index 00000000..f60fa31a --- /dev/null +++ b/tests/fixtures/iot/HS200(US)_1.0_1.2.6.json @@ -0,0 +1,58 @@ +{ + "cnCloud": { + "get_info": { + "binded": 1, + "cld_connection": 1, + "err_code": 0, + "fwDlPage": "", + "fwNotifyType": 0, + "illegalType": 0, + "server": "n-devs.tplinkcloud.com", + "stopConnect": 0, + "tcspInfo": "", + "tcspStatus": 1, + "username": "user@example.com" + }, + "get_intl_fw_list": { + "err_code": 0, + "fw_list": [] + } + }, + "schedule": { + "get_next_action": { + "err_code": 0, + "type": -1 + }, + "get_rules": { + "enable": 1, + "err_code": 0, + "rule_list": [] + } + }, + "system": { + "get_sysinfo": { + "active_mode": "schedule", + "alias": "#MASKED_NAME#", + "dev_name": "Wi-Fi Smart Light Switch", + "deviceId": "0000000000000000000000000000000000000000", + "err_code": 0, + "feature": "TIM", + "fwId": "00000000000000000000000000000000", + "hwId": "00000000000000000000000000000000", + "hw_ver": "1.0", + "icon_hash": "", + "latitude": 0, + "led_off": 0, + "longitude": 0, + "mac": "50:C7:BF:00:00:00", + "mic_type": "IOT.SMARTPLUGSWITCH", + "model": "HS200(US)", + "oemId": "00000000000000000000000000000000", + "on_time": 0, + "relay_state": 0, + "rssi": -47, + "sw_ver": "1.2.6 Build 200727 Rel.121953", + "updating": 0 + } + } +}