forked from openhab/openhab-addons
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[tplinksmarthome] Add new device: EP25
The EP25 appears to be a version of the KP125 that lacks the LED. Because of this, and per the comments in openhab#16027, this commit mimics openhab#11771 and simply copies the KP125, without the LED channel.
- Loading branch information
1 parent
c1a63ff
commit c17dc8a
Showing
4 changed files
with
33 additions
and
3 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
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
21 changes: 21 additions & 0 deletions
21
bundles/org.openhab.binding.tplinksmarthome/src/main/resources/OH-INF/thing/EP25.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,21 @@ | ||
<?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="ep25"> | ||
<label>EP25</label> | ||
<description>TP-Link EP25 Kasa Smart Wi-Fi Plug Mini</description> | ||
<category>PowerOutlet</category> | ||
|
||
<channels> | ||
<channel id="switch" typeId="system.power"/> | ||
<channel id="rssi" typeId="rssi"/> | ||
</channels> | ||
|
||
<representation-property>deviceId</representation-property> | ||
|
||
<config-description-ref uri="thing-type:tplinksmarthome:device-plug"/> | ||
</thing-type> | ||
</thing:thing-descriptions> |