8000 Add KP401 fixture (#234) · python-kasa/python-kasa@85a618f · GitHub
[go: up one dir, main page]

Skip to content

Commit 85a618f

Browse files
authored
Add KP401 fixture (#234)
1 parent cf151ea commit 85a618f

File tree

2 files changed

+44
-1
lines changed

2 files changed

+44
-1
lines changed

kasa/tests/conftest.py

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,18 @@
4040
}
4141

4242

43-
PLUGS = {"HS100", "HS103", "HS105", "HS110", "HS200", "HS210", "EP10", "KP115", "KP105"}
43+
PLUGS = {
44+
"HS100",
45+
"HS103",
46+
"HS105",
47+
"HS110",
48+
"HS200",
49+
"HS210",
50+
"EP10",
51+
"KP115",
52+
"KP105",
53+
"KP401",
54+
}
4455
STRIPS = {"HS107", "HS300", "KP303", "KP400", "EP40"}
4556
DIMMERS = {"HS220"}
4657

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"system": {
3+
"get_sysinfo": {
4+
"active_mode": "none",
5+
"alias": "Kp401",
6+
"dev_name": "Smart Outdoor Plug",
7+
"deviceId": "0000000000000000000000000000000000000000",
8+
"err_code": 0,
9+
"feature": "TIM",
10+
"hwId": "00000000000000000000000000000000",
11+
"hw_ver": "1.0",
12+
"icon_hash": "",
13+
"latitude_i": 0,
14+
"led_off": 0,
15+
"longitude_i": 0,
16+
"mac": "00:00:00:00:00:00",
17+
"mic_type": "IOT.SMARTPLUGSWITCH",
18+
"model": "KP401(US)",
19+
"next_action": {
20+
"type": -1
21+
},
22+
"ntc_state": 0,
23+
"oemId": "00000000000000000000000000000000",
24+
"on_time": 127,
25+
"relay_state": 1,
26+
"rssi": -56,
27+
"status": "new",
28+
"sw_ver": "1.0.0 Build 201221 Rel.090515",
29+
"updating": 0
30+
}
31+
}
32+
}

0 commit comments

Comments
 (0)
0