mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-22 19:23:34 +00:00
Add KS200M(US) fw 1.0.12 fixture (#1127)
This commit is contained in:
parent
89d611d2cd
commit
69c270055d
@ -86,6 +86,7 @@ Some newer Kasa devices require authentication. These are marked with <sup>*</su
|
|||||||
- Hardware: 1.0 (US) / Firmware: 1.0.6
|
- 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.12
|
||||||
- Hardware: 1.0 (US) / Firmware: 1.0.8
|
- Hardware: 1.0 (US) / Firmware: 1.0.8
|
||||||
- **KS205**
|
- **KS205**
|
||||||
- Hardware: 1.0 (US) / Firmware: 1.0.2<sup>\*</sup>
|
- Hardware: 1.0 (US) / Firmware: 1.0.2<sup>\*</sup>
|
||||||
|
96
kasa/tests/fixtures/KS200M(US)_1.0_1.0.12.json
vendored
Normal file
96
kasa/tests/fixtures/KS200M(US)_1.0_1.0.12.json
vendored
Normal file
@ -0,0 +1,96 @@
|
|||||||
|
{
|
||||||
|
"smartlife.iot.LAS": {
|
||||||
|
"get_config": {
|
||||||
|
"devs": [
|
||||||
|
{
|
||||||
|
"dark_index": 0,
|
||||||
|
"enable": 1,
|
||||||
|
"hw_id": 0,
|
||||||
|
"level_array": [
|
||||||
|
{
|
||||||
|
"adc": 390,
|
||||||
|
"name": "cloudy",
|
||||||
|
"value": 15
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"adc": 300,
|
||||||
|
"name": "overcast",
|
||||||
|
"value": 11
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"adc": 222,
|
||||||
|
"name": "dawn",
|
||||||
|
"value": 8
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"adc": 222,
|
||||||
|
"name": "twilight",
|
||||||
|
"value": 8
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"adc": 111,
|
||||||
|
"name": "total darkness",
|
||||||
|
"value": 4
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"adc": 2400,
|
||||||
|
"name": "custom",
|
||||||
|
"value": 94
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"max_adc": 2550,
|
||||||
|
"min_adc": 0
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"err_code": 0,
|
||||||
|
"ver": "1.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"smartlife.iot.PIR": {
|
||||||
|
"get_config": {
|
||||||
|
"array": [
|
||||||
|
80,
|
||||||
|
50,
|
||||||
|
20,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"cold_time": 600000,
|
||||||
|
"enable": 1,
|
||||||
|
"err_code": 0,
|
||||||
|
"max_adc": 4095,
|
||||||
|
"min_adc": 0,
|
||||||
|
"trigger_index": 1,
|
||||||
|
"version": "1.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"system": {
|
||||||
|
"get_sysinfo": {
|
||||||
|
"active_mode": "none",
|
||||||
|
"alias": "#MASKED_NAME#",
|
||||||
|
"dev_name": "Smart Light Switch with PIR",
|
||||||
|
"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": "98:25:4A:00:00:00",
|
||||||
|
"mic_type": "IOT.SMARTPLUGSWITCH",
|
||||||
|
"model": "KS200M(US)",
|
||||||
|
"next_action": {
|
||||||
|
"type": -1
|
||||||
|
},
|
||||||
|
"obd_src": "tplink",
|
||||||
|
"oemId": "00000000000000000000000000000000",
|
||||||
|
"on_time": 0,
|
||||||
|
"relay_state": 0,
|
||||||
|
"rssi": -55,
|
||||||
|
"status": "new",
|
||||||
|
"sw_ver": "1.0.12 Build 240507 Rel.143458",
|
||||||
|
"updating": 0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user