mirror of
https://github.com/python-kasa/python-kasa.git
synced 2026-10-30 16:37:20 +00:00
Add HS103(US) hw 5.0 fw 1.0.3 fixture (#1818)
Some checks failed
CI / Perform Lint Checks (3.15) (push) Has been cancelled
CodeQL Checks / Analyze (python) (push) Has been cancelled
CI / Python 3.11 on macos-latest (push) Has been cancelled
CI / Python 3.12 on macos-latest (push) Has been cancelled
CI / Python 3.13 on macos-latest (push) Has been cancelled
CI / Python 3.14 on macos-latest (push) Has been cancelled
CI / Python 3.15 on macos-latest (push) Has been cancelled
CI / Python 3.11 on ubuntu-latest (push) Has been cancelled
CI / Python 3.12 on ubuntu-latest (push) Has been cancelled
CI / Python 3.13 on ubuntu-latest (push) Has been cancelled
CI / Python 3.14 on ubuntu-latest (push) Has been cancelled
CI / Python 3.15 on ubuntu-latest (push) Has been cancelled
CI / Python 3.11 on windows-latest (push) Has been cancelled
CI / Python 3.12 on windows-latest (push) Has been cancelled
CI / Python 3.13 on windows-latest (push) Has been cancelled
CI / Python 3.14 on windows-latest (push) Has been cancelled
CI / Python 3.15 on windows-latest (push) Has been cancelled
Stale / stale (push) Has been cancelled
Some checks failed
CI / Perform Lint Checks (3.15) (push) Has been cancelled
CodeQL Checks / Analyze (python) (push) Has been cancelled
CI / Python 3.11 on macos-latest (push) Has been cancelled
CI / Python 3.12 on macos-latest (push) Has been cancelled
CI / Python 3.13 on macos-latest (push) Has been cancelled
CI / Python 3.14 on macos-latest (push) Has been cancelled
CI / Python 3.15 on macos-latest (push) Has been cancelled
CI / Python 3.11 on ubuntu-latest (push) Has been cancelled
CI / Python 3.12 on ubuntu-latest (push) Has been cancelled
CI / Python 3.13 on ubuntu-latest (push) Has been cancelled
CI / Python 3.14 on ubuntu-latest (push) Has been cancelled
CI / Python 3.15 on ubuntu-latest (push) Has been cancelled
CI / Python 3.11 on windows-latest (push) Has been cancelled
CI / Python 3.12 on windows-latest (push) Has been cancelled
CI / Python 3.13 on windows-latest (push) Has been cancelled
CI / Python 3.14 on windows-latest (push) Has been cancelled
CI / Python 3.15 on windows-latest (push) Has been cancelled
Stale / stale (push) Has been cancelled
This commit is contained in:
@@ -32,6 +32,7 @@ Some newer Kasa devices require authentication. These are marked with [^1] in th
|
|||||||
- Hardware: 1.0 (US) / Firmware: 1.5.7
|
- Hardware: 1.0 (US) / Firmware: 1.5.7
|
||||||
- Hardware: 2.1 (US) / Firmware: 1.1.2
|
- Hardware: 2.1 (US) / Firmware: 1.1.2
|
||||||
- Hardware: 2.1 (US) / Firmware: 1.1.4
|
- Hardware: 2.1 (US) / Firmware: 1.1.4
|
||||||
|
- Hardware: 5.0 (US) / Firmware: 1.0.3
|
||||||
- **HS105**
|
- **HS105**
|
||||||
- Hardware: 1.0 (US) / Firmware: 1.5.6
|
- Hardware: 1.0 (US) / Firmware: 1.5.6
|
||||||
- **HS110**
|
- **HS110**
|
||||||
|
|||||||
73
tests/fixtures/iot/HS103(US)_5.0_1.0.3.json
vendored
Normal file
73
tests/fixtures/iot/HS103(US)_5.0_1.0.3.json
vendored
Normal file
@@ -0,0 +1,73 @@
|
|||||||
|
{
|
||||||
|
"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": [
|
||||||
|
{
|
||||||
|
"fwLocation": 0,
|
||||||
|
"fwReleaseDate": "2026-02-28",
|
||||||
|
"fwReleaseLog": "Modifications and Bug Fixes:\n1. Improved time synchronization accuracy.\n2. Enhanced device local communication security.\n3. Enhanced device stability.",
|
||||||
|
"fwReleaseLogUrl": "undefined yet",
|
||||||
|
"fwTitle": "Hi, a new firmware with performance improvement is available for your HS103.",
|
||||||
|
"fwType": 1,
|
||||||
|
"fwUrl": "http://ota-download.tplinkcloud.com/firmware/HS103_FCC_1.1.3_Build_250908_Rel.112508_2025-09-08_11.26.24_1772244428745.bin",
|
||||||
|
"fwVer": "1.1.3 Build 250908 Rel.112508"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"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 Plug Mini",
|
||||||
|
"deviceId": "0000000000000000000000000000000000000000",
|
||||||
|
"err_code": 0,
|
||||||
|
"feature": "TIM",
|
||||||
|
"hwId": "00000000000000000000000000000000",
|
||||||
|
"hw_ver": "5.0",
|
||||||
|
"icon_hash": "",
|
||||||
|
"latitude_i": 0,
|
||||||
|
"led_off": 0,
|
||||||
|
"longitude_i": 0,
|
||||||
|
"mac": "00:5F:67:00:00:00",
|
||||||
|
"mic_type": "IOT.SMARTPLUGSWITCH",
|
||||||
|
"model": "HS103(US)",
|
||||||
|
"next_action": {
|
||||||
|
"type": -1
|
||||||
|
},
|
||||||
|
"oemId": "00000000000000000000000000000000",
|
||||||
|
"on_time": 0,
|
||||||
|
"relay_state": 0,
|
||||||
|
"rssi": -57,
|
||||||
|
"status": "new",
|
||||||
|
"sw_ver": "1.0.3 Build 201015 Rel.142523",
|
||||||
|
"updating": 0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user