From: lolodomo Date: Mon, 12 Jul 2021 07:24:24 +0000 (+0200) Subject: [sonyprojector] Switch to the default system channel type for power channel (#10970) X-Git-Url: https://git.basschouten.com/?a=commitdiff_plain;h=29acaf624673a64a034260d4a2136026a9c49d3e;p=openhab-addons.git [sonyprojector] Switch to the default system channel type for power channel (#10970) Set semantics to the powerstate channel type Signed-off-by: Laurent Garnier --- 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 73b4e4bda4..092bf3a918 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 bbdd1aa161..e186fdf9f7 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 d732c2e782..ec4898e0a6 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 7fcf73fbad..c5a852870a 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 - +