From 5b3f96e27736137bb39ffeb4269bb785ef5e50f9 Mon Sep 17 00:00:00 2001 From: lolodomo Date: Sat, 27 Jul 2024 14:10:40 +0200 Subject: [PATCH] [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 --- .../OH-INF/i18n/freeboxos.properties | 2 ++ .../OH-INF/thing/player-channel-groups.xml | 5 +++- .../OH-INF/thing/player-thing-type.xml | 11 +++++-- .../resources/OH-INF/update/instructions.xml | 29 +++++++++++++++++++ 4 files changed, 44 insertions(+), 3 deletions(-) create mode 100644 bundles/org.openhab.binding.freeboxos/src/main/resources/OH-INF/update/instructions.xml diff --git a/bundles/org.openhab.binding.freeboxos/src/main/resources/OH-INF/i18n/freeboxos.properties b/bundles/org.openhab.binding.freeboxos/src/main/resources/OH-INF/i18n/freeboxos.properties index 0c2cab2716042..e6c76e61881c7 100644 --- a/bundles/org.openhab.binding.freeboxos/src/main/resources/OH-INF/i18n/freeboxos.properties +++ b/bundles/org.openhab.binding.freeboxos/src/main/resources/OH-INF/i18n/freeboxos.properties @@ -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 diff --git a/bundles/org.openhab.binding.freeboxos/src/main/resources/OH-INF/thing/player-channel-groups.xml b/bundles/org.openhab.binding.freeboxos/src/main/resources/OH-INF/thing/player-channel-groups.xml index 9a4f7e2d975e6..db75018e07452 100644 --- a/bundles/org.openhab.binding.freeboxos/src/main/resources/OH-INF/thing/player-channel-groups.xml +++ b/bundles/org.openhab.binding.freeboxos/src/main/resources/OH-INF/thing/player-channel-groups.xml @@ -23,7 +23,10 @@ - + + + Triggers when an event related to the Freebox player has been detected + diff --git a/bundles/org.openhab.binding.freeboxos/src/main/resources/OH-INF/thing/player-thing-type.xml b/bundles/org.openhab.binding.freeboxos/src/main/resources/OH-INF/thing/player-thing-type.xml index e6c94f1194ab3..787c687c9a184 100644 --- a/bundles/org.openhab.binding.freeboxos/src/main/resources/OH-INF/thing/player-thing-type.xml +++ b/bundles/org.openhab.binding.freeboxos/src/main/resources/OH-INF/thing/player-thing-type.xml @@ -14,10 +14,13 @@ - + + 1 + + macAddress @@ -34,10 +37,14 @@ - + + + 1 + + macAddress diff --git a/bundles/org.openhab.binding.freeboxos/src/main/resources/OH-INF/update/instructions.xml b/bundles/org.openhab.binding.freeboxos/src/main/resources/OH-INF/update/instructions.xml new file mode 100644 index 0000000000000..770fa5fb0b754 --- /dev/null +++ b/bundles/org.openhab.binding.freeboxos/src/main/resources/OH-INF/update/instructions.xml @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + freeboxos:box-event + + Triggers when an event related to the Freebox player has been detected + + + + + +