From 29acaf624673a64a034260d4a2136026a9c49d3e Mon Sep 17 00:00:00 2001 From: lolodomo Date: Mon, 12 Jul 2021 09:24:24 +0200 Subject: [PATCH] [sonyprojector] Switch to the default system channel type for power channel (#10970) Set semantics to the powerstate channel type Signed-off-by: Laurent Garnier --- .../src/main/resources/OH-INF/thing/channels.xml | 10 ++++------ .../src/main/resources/OH-INF/thing/ethernet.xml | 2 +- .../src/main/resources/OH-INF/thing/serial.xml | 2 +- .../src/main/resources/OH-INF/thing/serialoverip.xml | 2 +- 4 files changed, 7 insertions(+), 9 deletions(-) diff --git a/bundles/org.openhab.binding.sonyprojector/src/main/resources/OH-INF/thing/channels.xml b/bundles/org.openhab.binding.sonyprojector/src/main/resources/OH-INF/thing/channels.xml index 73b4e4bda..092bf3a91 100644 --- a/bundles/org.openhab.binding.sonyprojector/src/main/resources/OH-INF/thing/channels.xml +++ b/bundles/org.openhab.binding.sonyprojector/src/main/resources/OH-INF/thing/channels.xml @@ -4,16 +4,14 @@ 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"> - - Switch - - Power ON/OFF the projector - - String Current detailed power state of the projector + + Status + Power + diff --git a/bundles/org.openhab.binding.sonyprojector/src/main/resources/OH-INF/thing/ethernet.xml b/bundles/org.openhab.binding.sonyprojector/src/main/resources/OH-INF/thing/ethernet.xml index bbdd1aa16..e186fdf9f 100644 --- a/bundles/org.openhab.binding.sonyprojector/src/main/resources/OH-INF/thing/ethernet.xml +++ b/bundles/org.openhab.binding.sonyprojector/src/main/resources/OH-INF/thing/ethernet.xml @@ -10,7 +10,7 @@ Ethernet connection to the Sony projector using PJ Talk - + diff --git a/bundles/org.openhab.binding.sonyprojector/src/main/resources/OH-INF/thing/serial.xml b/bundles/org.openhab.binding.sonyprojector/src/main/resources/OH-INF/thing/serial.xml index d732c2e78..ec4898e0a 100644 --- a/bundles/org.openhab.binding.sonyprojector/src/main/resources/OH-INF/thing/serial.xml +++ b/bundles/org.openhab.binding.sonyprojector/src/main/resources/OH-INF/thing/serial.xml @@ -10,7 +10,7 @@ Serial connection to the Sony projector - + diff --git a/bundles/org.openhab.binding.sonyprojector/src/main/resources/OH-INF/thing/serialoverip.xml b/bundles/org.openhab.binding.sonyprojector/src/main/resources/OH-INF/thing/serialoverip.xml index 7fcf73fba..c5a852870 100644 --- a/bundles/org.openhab.binding.sonyprojector/src/main/resources/OH-INF/thing/serialoverip.xml +++ b/bundles/org.openhab.binding.sonyprojector/src/main/resources/OH-INF/thing/serialoverip.xml @@ -10,7 +10,7 @@ Serial over IP connection to the Sony projector - +