mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 15:11:59 +01:00
[freeboxos] Fix systeminfo group for active-player thing type (#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>
This commit is contained in:
parent
7e73ed83cf
commit
5b3f96e277
@ -189,6 +189,8 @@ channel-group-type.freeboxos.outgoing.channel.timestamp.label = Outgoing Call Ti
|
||||
channel-group-type.freeboxos.player-actions.label = Player Actions
|
||||
channel-group-type.freeboxos.player-status.label = Player Status
|
||||
channel-group-type.freeboxos.player-sysinfo.label = System Informations
|
||||
channel-group-type.freeboxos.player-sysinfo.channel.box-event.label = Player Event
|
||||
channel-group-type.freeboxos.player-sysinfo.channel.box-event.description = Triggers when an event related to the Freebox player has been detected
|
||||
channel-group-type.freeboxos.repeater-misc.label = Repeater Settings
|
||||
channel-group-type.freeboxos.repeater-misc.channel.box-event.label = Repeater Event
|
||||
channel-group-type.freeboxos.sensors.label = System Sensors
|
||||
|
@ -23,7 +23,10 @@
|
||||
<label>System Informations</label>
|
||||
<channels>
|
||||
<channel id="uptime" typeId="uptime"/>
|
||||
<channel id="box-event" typeId="box-event"/>
|
||||
<channel id="box-event" typeId="box-event">
|
||||
<label>Player Event</label>
|
||||
<description>Triggers when an event related to the Freebox player has been detected</description>
|
||||
</channel>
|
||||
</channels>
|
||||
</channel-group-type>
|
||||
|
||||
|
@ -14,10 +14,13 @@
|
||||
|
||||
<channel-groups>
|
||||
<channel-group typeId="player-actions" id="player-actions"/>
|
||||
<channel-group typeId="sysinfo" id="sysinfo"/>
|
||||
<channel-group typeId="connectivity" id="connectivity"/>
|
||||
</channel-groups>
|
||||
|
||||
<properties>
|
||||
<property name="thingTypeVersion">1</property>
|
||||
</properties>
|
||||
|
||||
<representation-property>macAddress</representation-property>
|
||||
|
||||
<config-description-ref uri="thing-type:freeboxos:player"/>
|
||||
@ -34,10 +37,14 @@
|
||||
<channel-groups>
|
||||
<channel-group typeId="player-actions" id="player-actions"/>
|
||||
<channel-group typeId="player-status" id="player-status"/>
|
||||
<channel-group typeId="sysinfo" id="sysinfo"/>
|
||||
<channel-group typeId="player-sysinfo" id="sysinfo"/>
|
||||
<channel-group typeId="connectivity" id="connectivity"/>
|
||||
</channel-groups>
|
||||
|
||||
<properties>
|
||||
<property name="thingTypeVersion">1</property>
|
||||
</properties>
|
||||
|
||||
<representation-property>macAddress</representation-property>
|
||||
|
||||
<config-description-ref uri="thing-type:freeboxos:player"/>
|
||||
|
@ -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>
|
Loading…
Reference in New Issue
Block a user