forked from openhab/openhab-addons
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[tplinksmarthome] Added Kl50 and kl60 light bulbs. (openhab#7389)
Signed-off-by: Hilbrand Bouwkamp <[email protected]>
- Loading branch information
Showing
4 changed files
with
65 additions
and
1 deletion.
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/KL50.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="kl50"> | ||
<label>KL50</label> | ||
<description>Kasa Filament Smart Bulb, Soft White</description> | ||
<category>Lightbulb</category> | ||
|
||
<channels> | ||
<channel id="brightness" typeId="system.brightness" /> | ||
<channel id="power" typeId="power" /> | ||
<channel id="rssi" typeId="rssi" /> | ||
</channels> | ||
|
||
<representation-property>deviceId</representation-property> | ||
|
||
<config-description-ref uri="thing-type:device:bulb" /> | ||
</thing-type> | ||
</thing:thing-descriptions> |
22 changes: 22 additions & 0 deletions
22
bundles/org.openhab.binding.tplinksmarthome/src/main/resources/ESH-INF/thing/KL60.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="kl60"> | ||
<label>KL60</label> | ||
<description>Kasa Filament Smart Bulb, Warm Amber</description> | ||
<category>Lightbulb</category> | ||
|
||
<channels> | ||
<channel id="brightness" typeId="system.brightness" /> | ||
<channel id="power" typeId="power" /> | ||
<channel id="rssi" typeId="rssi" /> | ||
</channels> | ||
|
||
<representation-property>deviceId</representation-property> | ||
|
||
<config-description-ref uri="thing-type:device:bulb" /> | ||
</thing-type> | ||
</thing:thing-descriptions> |