forked from openhab/openhab-addons
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[tplinksmarthome] Addes support for KL420 Light Strip
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
- Loading branch information
Showing
4 changed files
with
42 additions
and
4 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
24 changes: 24 additions & 0 deletions
24
bundles/org.openhab.binding.tplinksmarthome/src/main/resources/OH-INF/thing/KL420.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,24 @@ | ||
<?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="kl420"> | ||
<label>KL420</label> | ||
<description>TP-Link KL420 Kasa Smart Light Strip, Multicolor</description> | ||
<category>Lightbulb</category> | ||
|
||
<channels> | ||
<channel id="color" typeId="system.color"/> | ||
<channel id="colorTemperature" typeId="system.color-temperature"/> | ||
<channel id="colorTemperatureAbs" typeId="colorTemperatureAbs2"/> | ||
<channel id="power" typeId="power"/> | ||
<channel id="rssi" typeId="rssi"/> | ||
</channels> | ||
|
||
<representation-property>deviceId</representation-property> | ||
|
||
<config-description-ref uri="thing-type:tplinksmarthome:device-bulb"/> | ||
</thing-type> | ||
</thing:thing-descriptions> |