mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-23 03:33:35 +00:00
Add KP401 fixture (#234)
This commit is contained in:
parent
cf151ead4a
commit
85a618f7c6
@ -40,7 +40,18 @@ BULBS = {
|
||||
}
|
||||
|
||||
|
||||
PLUGS = {"HS100", "HS103", "HS105", "HS110", "HS200", "HS210", "EP10", "KP115", "KP105"}
|
||||
PLUGS = {
|
||||
"HS100",
|
||||
"HS103",
|
||||
"HS105",
|
||||
"HS110",
|
||||
"HS200",
|
||||
"HS210",
|
||||
"EP10",
|
||||
"KP115",
|
||||
"KP105",
|
||||
"KP401",
|
||||
}
|
||||
STRIPS = {"HS107", "HS300", "KP303", "KP400", "EP40"}
|
||||
DIMMERS = {"HS220"}
|
||||
|
||||
|
32
kasa/tests/fixtures/KP401(US)_1.0_1.0.0.json
vendored
Normal file
32
kasa/tests/fixtures/KP401(US)_1.0_1.0.0.json
vendored
Normal file
@ -0,0 +1,32 @@
|
||||
{
|
||||
"system": {
|
||||
"get_sysinfo": {
|
||||
"active_mode": "none",
|
||||
"alias": "Kp401",
|
||||
"dev_name": "Smart Outdoor Plug",
|
||||
"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": "00:00:00:00:00:00",
|
||||
"mic_type": "IOT.SMARTPLUGSWITCH",
|
||||
"model": "KP401(US)",
|
||||
"next_action": {
|
||||
"type": -1
|
||||
},
|
||||
"ntc_state": 0,
|
||||
"oemId": "00000000000000000000000000000000",
|
||||
"on_time": 127,
|
||||
"relay_state": 1,
|
||||
"rssi": -56,
|
||||
"status": "new",
|
||||
"sw_ver": "1.0.0 Build 201221 Rel.090515",
|
||||
"updating": 0
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user