From 2d54347b656cb8f722d8db0ebd761f3dac118d24 Mon Sep 17 00:00:00 2001 From: Jacob Laursen Date: Wed, 23 Feb 2022 22:43:51 +0100 Subject: [PATCH] [hdpowerview] Divide thing descriptions into separate files (#12364) Signed-off-by: Jacob Laursen --- .../main/resources/OH-INF/config/config.xml | 21 ++ .../main/resources/OH-INF/thing/bridge.xml | 50 +++++ .../main/resources/OH-INF/thing/channels.xml | 83 ++++++++ .../main/resources/OH-INF/thing/repeater.xml | 35 ++++ .../src/main/resources/OH-INF/thing/shade.xml | 38 ++++ .../resources/OH-INF/thing/thing-types.xml | 194 ------------------ 6 files changed, 227 insertions(+), 194 deletions(-) create mode 100644 bundles/org.openhab.binding.hdpowerview/src/main/resources/OH-INF/config/config.xml create mode 100644 bundles/org.openhab.binding.hdpowerview/src/main/resources/OH-INF/thing/bridge.xml create mode 100644 bundles/org.openhab.binding.hdpowerview/src/main/resources/OH-INF/thing/channels.xml create mode 100644 bundles/org.openhab.binding.hdpowerview/src/main/resources/OH-INF/thing/repeater.xml create mode 100644 bundles/org.openhab.binding.hdpowerview/src/main/resources/OH-INF/thing/shade.xml delete mode 100644 bundles/org.openhab.binding.hdpowerview/src/main/resources/OH-INF/thing/thing-types.xml diff --git a/bundles/org.openhab.binding.hdpowerview/src/main/resources/OH-INF/config/config.xml b/bundles/org.openhab.binding.hdpowerview/src/main/resources/OH-INF/config/config.xml new file mode 100644 index 000000000..9945d63e8 --- /dev/null +++ b/bundles/org.openhab.binding.hdpowerview/src/main/resources/OH-INF/config/config.xml @@ -0,0 +1,21 @@ + + + + + + + The numeric ID of the PowerView Repeater in the Hub + + + + + + + The numeric ID of the PowerView Shade in the Hub + + + + diff --git a/bundles/org.openhab.binding.hdpowerview/src/main/resources/OH-INF/thing/bridge.xml b/bundles/org.openhab.binding.hdpowerview/src/main/resources/OH-INF/thing/bridge.xml new file mode 100644 index 000000000..1c20f86e9 --- /dev/null +++ b/bundles/org.openhab.binding.hdpowerview/src/main/resources/OH-INF/thing/bridge.xml @@ -0,0 +1,50 @@ + + + + + + Hunter Douglas (Luxaflex) PowerView Hub + + + + + + + + + Hunter Douglas (Luxaflex) + PowerView Hub + + + host + + + + + The Host address of the PowerView Hub + network-address + + + + The number of milliseconds between fetches of the PowerView Hub shade state + 60000 + + + + The number of minutes between hard refreshes of positions from the PowerView Hub (or 0 to disable) + 180 + + + + The number of hours between hard refreshes of battery levels from the PowerView Hub (or 0 to disable, + default is weekly) + true + 0 + + + + + diff --git a/bundles/org.openhab.binding.hdpowerview/src/main/resources/OH-INF/thing/channels.xml b/bundles/org.openhab.binding.hdpowerview/src/main/resources/OH-INF/thing/channels.xml new file mode 100644 index 000000000..110c0a28a --- /dev/null +++ b/bundles/org.openhab.binding.hdpowerview/src/main/resources/OH-INF/thing/channels.xml @@ -0,0 +1,83 @@ + + + + + Rollershutter + + The vertical position of the shade + + + + Dimmer + + The opening of the slats in the shade + + + + String + + Send a command to the shade + + + + + + + veto + + + + Switch + + + + + Switch + + + + + Switch + + + + + Number:ElectricPotential + + Battery voltage reported by the shade + + + + + String + + Flash repeater to identify + + + + + + + + + Switch + + Blink during commands + + + + + + + + + + + + + + + diff --git a/bundles/org.openhab.binding.hdpowerview/src/main/resources/OH-INF/thing/repeater.xml b/bundles/org.openhab.binding.hdpowerview/src/main/resources/OH-INF/thing/repeater.xml new file mode 100644 index 000000000..c415c5140 --- /dev/null +++ b/bundles/org.openhab.binding.hdpowerview/src/main/resources/OH-INF/thing/repeater.xml @@ -0,0 +1,35 @@ + + + + + + + + + Hunter Douglas (Luxaflex) PowerView Repeater + + + + Controls the color of the LED ring + + + Controls the brightness of the LED ring + + + + + + + Hunter Douglas (Luxaflex) + PowerView Repeater + + + id + + + + + diff --git a/bundles/org.openhab.binding.hdpowerview/src/main/resources/OH-INF/thing/shade.xml b/bundles/org.openhab.binding.hdpowerview/src/main/resources/OH-INF/thing/shade.xml new file mode 100644 index 000000000..2466dc9f4 --- /dev/null +++ b/bundles/org.openhab.binding.hdpowerview/src/main/resources/OH-INF/thing/shade.xml @@ -0,0 +1,38 @@ + + + + + + + + + Hunter Douglas (Luxaflex) PowerView Shade + + + + + + The secondary vertical position (on top-down/bottom-up shades) + + + + + + + + + + + Hunter Douglas (Luxaflex) + PowerView Motorized Shade + + + id + + + + + diff --git a/bundles/org.openhab.binding.hdpowerview/src/main/resources/OH-INF/thing/thing-types.xml b/bundles/org.openhab.binding.hdpowerview/src/main/resources/OH-INF/thing/thing-types.xml deleted file mode 100644 index 95aaca7fc..000000000 --- a/bundles/org.openhab.binding.hdpowerview/src/main/resources/OH-INF/thing/thing-types.xml +++ /dev/null @@ -1,194 +0,0 @@ - - - - - - Hunter Douglas (Luxaflex) PowerView Hub - - - - - - - - - Hunter Douglas (Luxaflex) - PowerView Hub - - - host - - - - - The Host address of the PowerView Hub - network-address - - - - The number of milliseconds between fetches of the PowerView Hub shade state - 60000 - - - - The number of minutes between hard refreshes of positions from the PowerView Hub (or 0 to disable) - 180 - - - - The number of hours between hard refreshes of battery levels from the PowerView Hub (or 0 to disable, - default is weekly) - true - 0 - - - - - - - - - - Hunter Douglas (Luxaflex) PowerView Shade - - - - - - The secondary vertical position (on top-down/bottom-up shades) - - - - - - - - - - - Hunter Douglas (Luxaflex) - PowerView Motorized Shade - - id - - - - - The numeric ID of the PowerView Shade in the Hub - - - - - - - - - - Hunter Douglas (Luxaflex) PowerView Repeater - - - - Controls the color of the LED ring - - - Controls the brightness of the LED ring - - - - - - - Hunter Douglas (Luxaflex) - PowerView Repeater - - - id - - - - - The numeric ID of the PowerView Repeater in the Hub - - - - - - Rollershutter - - The vertical position of the shade - - - - Dimmer - - The opening of the slats in the shade - - - - String - - Send a command to the shade - - - - - - - veto - - - - Switch - - - - - Switch - - - - - Switch - - - - - Number:ElectricPotential - - Battery voltage reported by the shade - - - - - String - - Flash repeater to identify - - - - - - - - - Switch - - Blink during commands - - - - - - - - - - - - - - -