From a1a51d3f24e7c101534b1442c4613a8c69cb8294 Mon Sep 17 00:00:00 2001 From: michael-bohr Date: Sat, 31 Oct 2026 19:38:02 -0400 Subject: [PATCH] Add HS200(US) hw 5.0 fw 1.1.2 fixture (#1822) --- SUPPORTED.md | 1 + tests/fixtures/iot/HS200(US)_5.0_1.1.2.json | 64 +++++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 tests/fixtures/iot/HS200(US)_5.0_1.1.2.json diff --git a/SUPPORTED.md b/SUPPORTED.md index f84a31a2..247d3261 100644 --- a/SUPPORTED.md +++ b/SUPPORTED.md @@ -93,6 +93,7 @@ Some newer Kasa devices require authentication. These are marked with [^1] in th - Hardware: 3.0 (US) / Firmware: 1.1.5 - Hardware: 5.0 (US) / Firmware: 1.0.11 - Hardware: 5.0 (US) / Firmware: 1.0.2 + - Hardware: 5.0 (US) / Firmware: 1.1.2 - Hardware: 5.26 (US) / Firmware: 1.0.3[^1] - **HS210** - Hardware: 1.0 (US) / Firmware: 1.5.8 diff --git a/tests/fixtures/iot/HS200(US)_5.0_1.1.2.json b/tests/fixtures/iot/HS200(US)_5.0_1.1.2.json new file mode 100644 index 00000000..98c0b78c --- /dev/null +++ b/tests/fixtures/iot/HS200(US)_5.0_1.1.2.json @@ -0,0 +1,64 @@ +{ + "cnCloud": { + "get_info": { + "binded": 1, + "cld_connection": 1, + "err_code": 0, + "fwDlPage": "", + "fwNotifyType": -1, + "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": [], + "version": 2 + } + }, + "system": { + "get_sysinfo": { + "active_mode": "none", + "alias": "#MASKED_NAME#", + "dev_name": "Smart Wi-Fi Light Switch", + "deviceId": "0000000000000000000000000000000000000000", + "err_code": 0, + "feature": "TIM", + "hwId": "00000000000000000000000000000000", + "hw_ver": "5.0", + "icon_hash": "", + "latitude_i": 0, + "led_off": 1, + "lnk_on": 1, + "longitude_i": 0, + "mac": "54:AF:97:00:00:00", + "mic_type": "IOT.SMARTPLUGSWITCH", + "model": "HS200(US)", + "next_action": { + "type": -1 + }, + "obd_src": "tplink", + "oemId": "00000000000000000000000000000000", + "on_time": 0, + "relay_state": 0, + "rssi": -42, + "status": "new", + "sw_ver": "1.1.2 Build 241220 Rel.165559", + "updating": 0 + } + } +}