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.
[freeboxos] Fix systeminfo group for active-player thing type (openha…
…b#17097) * [freeboxos] Fix systeminfo group for active-player thing type And remove this group from player thing type. Signed-off-by: Laurent Garnier <lg.hc@free.fr> Signed-off-by: Patrik Gfeller <patrik.gfeller@proton.me>
- Loading branch information
Showing
4 changed files
with
44 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
29 changes: 29 additions & 0 deletions
29
bundles/org.openhab.binding.freeboxos/src/main/resources/OH-INF/update/instructions.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,29 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> | ||
<update:update-descriptions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns:update="https://openhab.org/schemas/update-description/v1.0.0" | ||
xsi:schemaLocation="https://openhab.org/schemas/update-description/v1.0.0 https://openhab.org/schemas/update-description-1.0.0.xsd"> | ||
|
||
<thing-type uid="freeboxos:player"> | ||
|
||
<instruction-set targetVersion="1"> | ||
<remove-channel id="uptime" groupIds="sysinfo"/> | ||
<remove-channel id="ip-address" groupIds="sysinfo"/> | ||
<remove-channel id="box-event" groupIds="sysinfo"/> | ||
</instruction-set> | ||
|
||
</thing-type> | ||
|
||
<thing-type uid="freeboxos:active-player"> | ||
|
||
<instruction-set targetVersion="1"> | ||
<remove-channel id="ip-address" groupIds="sysinfo"/> | ||
<update-channel id="box-event" groupIds="sysinfo"> | ||
<type>freeboxos:box-event</type> | ||
<label>Player Event</label> | ||
<description>Triggers when an event related to the Freebox player has been detected</description> | ||
</update-channel> | ||
</instruction-set> | ||
|
||
</thing-type> | ||
|
||
</update:update-descriptions> |