]> git.basschouten.com Git - openhab-addons.git/commitdiff
[intesis] Changed default pattern for temperature channels (#8887)
authorHans-Jörg Merk <github@hmerk.de>
Wed, 28 Oct 2020 15:42:17 +0000 (16:42 +0100)
committerGitHub <noreply@github.com>
Wed, 28 Oct 2020 15:42:17 +0000 (08:42 -0700)
Signed-off-by: Hans-Jörg Merk <github@hmerk.de>
bundles/org.openhab.binding.intesis/src/main/resources/OH-INF/thing/dynamic-channels.xml
bundles/org.openhab.binding.intesis/src/main/resources/OH-INF/thing/thing-types.xml

index 89e9a832f6f220e35890b63945101890a46c91c9..3be613ad98923e61e76d8a4b75d3a69b4e1cb1e3 100644 (file)
@@ -8,39 +8,43 @@
                <item-type>String</item-type>
                <label>@text/channel-type.intesis.mode.label</label>
                <description>@text/channel-type.intesis.mode.description</description>
+               <state readOnly="false"></state>
        </channel-type>
        <channel-type id="fanSpeed">
                <item-type>String</item-type>
                <label>@text/channel-type.intesis.fanSpeed.label</label>
                <description>@text/channel-type.intesis.fanSpeed.description</description>
+               <state readOnly="false"></state>
        </channel-type>
        <channel-type id="vanesUpDown">
                <item-type>String</item-type>
                <label>@text/channel-type.intesis.vanesUpDown.label</label>
                <description>@text/channel-type.intesis.vanesUpDown.description</description>
+               <state readOnly="false"></state>
        </channel-type>
        <channel-type id="vanesLeftRight">
                <item-type>String</item-type>
                <label>@text/channel-type.intesis.vanesLeftRight.label</label>
                <description>@text/channel-type.intesis.vanesLeftRight.description</description>
+               <state readOnly="false"></state>
        </channel-type>
        <channel-type id="targetTemperature">
                <item-type>Number:Temperature</item-type>
                <label>@text/channel-type.intesis.targetTemperature.label</label>
                <description>@text/channel-type.intesis.targetTemperature.description</description>
-               <state pattern="%d %unit%"></state>
+               <state pattern="%.1f %unit%" step="0.5" readOnly="false"></state>
        </channel-type>
        <channel-type id="ambientTemperature">
                <item-type>Number:Temperature</item-type>
                <label>@text/channel-type.intesis.ambientTemperature.label</label>
                <description>@text/channel-type.intesis.ambientTemperature.description</description>
-               <state pattern="%d %unit%" readOnly="true"></state>
+               <state pattern="%.1f %unit%" step="0.5" readOnly="true"></state>
        </channel-type>
        <channel-type id="outdoorTemperature">
                <item-type>Number:Temperature</item-type>
                <label>@text/channel-type.intesis.outdoorTemperature.label</label>
                <description>@text/channel-type.intesis.outdoorTemperature.description</description>
-               <state pattern="%d %unit%" readOnly="true"></state>
+               <state pattern="%.1f %unit%" step="0.5" readOnly="true"></state>
        </channel-type>
 
 </thing:thing-descriptions>
index 4a49712a8738e9fb8077157b644a4cdc9a391f85..ecb15189e57927466256c2956b1275046a9e848e 100644 (file)
@@ -52,7 +52,7 @@
                <item-type>Number:Temperature</item-type>
                <label>@text/channel-type.intesis.ambientTemperature.label</label>
                <description>@text/channel-type.intesis.ambientTemperature.description</description>
-               <state pattern="%d %unit%" readOnly="true"></state>
+               <state pattern="%.1f %unit%" step="0.5" readOnly="true"></state>
        </channel-type>
 
        <channel-type id="errorCode">