]> git.basschouten.com Git - openhab-addons.git/commitdiff
[oceanic] Fix item-type value for channel types reserve and flow (#12716)
authorlolodomo <lg.hc@free.fr>
Wed, 11 May 2022 20:05:54 +0000 (22:05 +0200)
committerGitHub <noreply@github.com>
Wed, 11 May 2022 20:05:54 +0000 (22:05 +0200)
Related to #12712

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
bundles/org.openhab.binding.oceanic/src/main/resources/OH-INF/thing/channel-types.xml

index b64d32099fe6ff7e284a0ead88ecaee3c384f2c5..47c04a37626d139249b56a345cfe4c08ade4f6e0 100644 (file)
                <state readOnly="true"></state>
        </channel-type>
        <channel-type id="flow" advanced="true">
-               <item-type>Decimal</item-type>
+               <item-type>Number</item-type>
                <label>Flow</label>
                <description>Flow in l/min</description>
                <state pattern="%.1f l/min" readOnly="true"></state>
        </channel-type>
        <channel-type id="reserve" advanced="true">
-               <item-type>Decimal</item-type>
+               <item-type>Number</item-type>
                <label>Water Reserve</label>
                <description>Water reserve in l before regeneration has to start</description>
                <state pattern="%d l" readOnly="true"></state>