forked from openhab/openhab-addons
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[tplinksmarthome] Added support for KP105 (openhab#8023)
Signed-off-by: Matt Ward <[email protected]>
- Loading branch information
1 parent
eca7d13
commit 1784b20
Showing
3 changed files
with
31 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
bundles/org.openhab.binding.tplinksmarthome/src/main/resources/ESH-INF/thing/KP105.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<thing:thing-descriptions bindingId="tplinksmarthome" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns:thing="https://openhab.org/schemas/thing-description/v1.0.0" | ||
xsi:schemaLocation="https://openhab.org/schemas/thing-description/v1.0.0 https://openhab.org/schemas/thing-description-1.0.0.xsd"> | ||
|
||
<thing-type id="kp105"> | ||
<label>KP105</label> | ||
<description>TP-Link KP105 Kasa Wi-Fi Smart Plug - Slim Edition</description> | ||
<category>PowerOutlet</category> | ||
|
||
<channels> | ||
<channel id="switch" typeId="system.power"/> | ||
<channel id="led" typeId="led"/> | ||
<channel id="rssi" typeId="rssi"/> | ||
</channels> | ||
|
||
<representation-property>deviceId</representation-property> | ||
|
||
<config-description-ref uri="thing-type:device:plug"/> | ||
</thing-type> | ||
</thing:thing-descriptions> |