Add EP10(US) 1.0 1.0.2 fixture (#174)

* Add EP10(US) 1.0 1.0.2 fixture

* Add EP10 fixture to conftest PLUGS list.

* Add EP10 to the list of supported plugs in README

* Revert "Add EP10 to the list of supported plugs in README"

This reverts commit e8bf6551c3.
This commit is contained in:
Nathan Hyde 2021-06-24 10:43:54 -07:00 committed by GitHub
parent 799032a8df
commit 6184c0c72e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 33 additions and 1 deletions

View File

@ -30,7 +30,7 @@ COLOR_BULBS = {"LB130", "KL125", "KL130", *LIGHT_STRIPS}
BULBS = {"KL60", "LB100", *VARIABLE_TEMP, *COLOR_BULBS, *LIGHT_STRIPS}
PLUGS = {"HS100", "HS103", "HS105", "HS110", "HS200", "HS210"}
PLUGS = {"HS100", "HS103", "HS105", "HS110", "HS200", "HS210", "EP10"}
STRIPS = {"HS107", "HS300", "KP303", "KP400"}
DIMMERS = {"HS220"}

32
kasa/tests/fixtures/EP10(US)_1.0_1.0.2.json vendored Executable file
View File

@ -0,0 +1,32 @@
{
"system": {
"get_sysinfo": {
"active_mode": "none",
"alias": "167 lamp",
"dev_name": "Smart Wi-Fi Plug Mini",
"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": "EP10(US)",
"next_action": {
"type": -1
},
"obd_src": "tplink",
"oemId": "00000000000000000000000000000000",
"on_time": 0,
"relay_state": 0,
"rssi": -64,
"status": "new",
"sw_ver": "1.0.2 Build 200915 Rel.085940",
"updating": 0
}
}
}