diff --git a/README.md b/README.md index 9d62cb81..d47ba113 100644 --- a/README.md +++ b/README.md @@ -119,6 +119,7 @@ or the `parse_pcap.py` script contained inside the `devtools` directory. * HS105 * HS107 * HS110 +* KP100 * KP105 * KP115 * KP401 diff --git a/kasa/tests/conftest.py b/kasa/tests/conftest.py index 93d37473..8b4e5bc9 100644 --- a/kasa/tests/conftest.py +++ b/kasa/tests/conftest.py @@ -48,6 +48,7 @@ PLUGS = { "HS200", "HS210", "EP10", + "KP100", "KP115", "KP105", "KP401", diff --git a/kasa/tests/fixtures/KP100(US)_3.0_1.0.1.json b/kasa/tests/fixtures/KP100(US)_3.0_1.0.1.json new file mode 100644 index 00000000..fb62654b --- /dev/null +++ b/kasa/tests/fixtures/KP100(US)_3.0_1.0.1.json @@ -0,0 +1,31 @@ +{ + "system": { + "get_sysinfo": { + "active_mode": "none", + "alias": "Kasa", + "dev_name": "Smart Wi-Fi Plug Mini", + "deviceId": "0000000000000000000000000000000000000000", + "err_code": 0, + "feature": "TIM", + "hwId": "00000000000000000000000000000000", + "hw_ver": "3.0", + "icon_hash": "", + "latitude_i": 0, + "led_off": 0, + "longitude_i": 0, + "mac": "00:00:00:00:00:00", + "mic_type": "IOT.SMARTPLUGSWITCH", + "model": "KP100(US)", + "next_action": { + "type": -1 + }, + "oemId": "00000000000000000000000000000000", + "on_time": 523, + "relay_state": 1, + "rssi": -60, + "status": "new", + "sw_ver": "1.0.1 Build 200831 Rel.142128", + "updating": 0 + } + } +}