mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-22 19:23:34 +00:00
Add fixture file for KP405 fw 1.0.6 (#1063)
This commit is contained in:
parent
84192a0d77
commit
a2b7daa069
@ -83,6 +83,7 @@ Some newer Kasa devices require authentication. These are marked with <sup>*</su
|
|||||||
- Hardware: 3.26 (US) / Firmware: 1.0.1<sup>\*</sup>
|
- Hardware: 3.26 (US) / Firmware: 1.0.1<sup>\*</sup>
|
||||||
- **KP405**
|
- **KP405**
|
||||||
- Hardware: 1.0 (US) / Firmware: 1.0.5
|
- Hardware: 1.0 (US) / Firmware: 1.0.5
|
||||||
|
- Hardware: 1.0 (US) / Firmware: 1.0.6
|
||||||
- **KS200M**
|
- **KS200M**
|
||||||
- Hardware: 1.0 (US) / Firmware: 1.0.11
|
- Hardware: 1.0 (US) / Firmware: 1.0.11
|
||||||
- Hardware: 1.0 (US) / Firmware: 1.0.8
|
- Hardware: 1.0 (US) / Firmware: 1.0.8
|
||||||
|
65
kasa/tests/fixtures/KP405(US)_1.0_1.0.6.json
vendored
Normal file
65
kasa/tests/fixtures/KP405(US)_1.0_1.0.6.json
vendored
Normal file
@ -0,0 +1,65 @@
|
|||||||
|
{
|
||||||
|
"smartlife.iot.dimmer": {
|
||||||
|
"get_dimmer_parameters": {
|
||||||
|
"bulb_type": 1,
|
||||||
|
"calibration_type": 0,
|
||||||
|
"err_code": 0,
|
||||||
|
"fadeOffTime": 1000,
|
||||||
|
"fadeOnTime": 1000,
|
||||||
|
"gentleOffTime": 10000,
|
||||||
|
"gentleOnTime": 3000,
|
||||||
|
"minThreshold": 1,
|
||||||
|
"rampRate": 30
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"system": {
|
||||||
|
"get_sysinfo": {
|
||||||
|
"active_mode": "none",
|
||||||
|
"alias": "#MASKED_NAME#",
|
||||||
|
"brightness": 100,
|
||||||
|
"dev_name": "Kasa Smart Wi-Fi Outdoor Plug-In Dimmer",
|
||||||
|
"deviceId": "0000000000000000000000000000000000000000",
|
||||||
|
"err_code": 0,
|
||||||
|
"feature": "TIM",
|
||||||
|
"hwId": "00000000000000000000000000000000",
|
||||||
|
"hw_ver": "1.0",
|
||||||
|
"icon_hash": "",
|
||||||
|
"latitude_i": 0,
|
||||||
|
"led_off": 0,
|
||||||
|
"longitude_i": 0,
|
||||||
|
"mac": "50:91:E3:00:00:00",
|
||||||
|
"mic_type": "IOT.SMARTPLUGSWITCH",
|
||||||
|
"model": "KP405(US)",
|
||||||
|
"next_action": {
|
||||||
|
"type": -1
|
||||||
|
},
|
||||||
|
"ntc_state": 0,
|
||||||
|
"obd_src": "tplink",
|
||||||
|
"oemId": "00000000000000000000000000000000",
|
||||||
|
"on_time": 0,
|
||||||
|
"preferred_state": [
|
||||||
|
{
|
||||||
|
"brightness": 100,
|
||||||
|
"index": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"brightness": 75,
|
||||||
|
"index": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"brightness": 50,
|
||||||
|
"index": 2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"brightness": 25,
|
||||||
|
"index": 3
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"relay_state": 0,
|
||||||
|
"rssi": -66,
|
||||||
|
"status": "new",
|
||||||
|
"sw_ver": "1.0.6 Build 240229 Rel.174151",
|
||||||
|
"updating": 0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user