Skip to content

Commit

Permalink
Merge PR #492: TP-Link Kasa: Add support for the KP115 switch
Browse files Browse the repository at this point in the history
  • Loading branch information
nymea-jenkins committed Oct 22, 2021
2 parents 81fe01c + f922534 commit 4bbafb9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tplink/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ This plugin adds support for the following tp-link Kasa devices to nymea.
* HS100 Kasa Smart Wi-Fi Plug
* HS103 Kasa Smart Wi-Fi Plug Lite
* HS105 Kasa Smart Wi-Fi Plug Mini
* HS110 Kasa Smart Wi-Fi Plug With Energy Monitoring
* HS110 Kasa Smart Wi-Fi Plug with Energy Monitoring
* HS115 Kasa Smart Wi-Fi Plug Slim with Energy Monitoring
* HS200 Kasa Smart Wi-Fi Light Switch
* HS300 Kasa Smart Wi-Fi Power Strip
* KP100 Kasa Smart Wi-Fi Plug Slim Edition
Expand Down
2 changes: 1 addition & 1 deletion tplink/integrationplugintplink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ void IntegrationPluginTPLink::discoverThings(ThingDiscoveryInfo *info)
if (info->thingClassId() == kasaPlug100ThingClassId) {
modelFilter = QRegExp("(HS100|HS103|HS105|KP100|KP105).*");
} else if (info->thingClassId() == kasaPlug110ThingClassId) {
modelFilter = QRegExp("HS110.*");
modelFilter = QRegExp("(HS110|KP115).*");
} else if (info->thingClassId() == kasaSwitch200ThingClassId) {
modelFilter = QRegExp("HS200.*");
} else if (info->thingClassId() == kasaPowerStrip300ThingClassId) {
Expand Down

0 comments on commit 4bbafb9

Please sign in to comment.