]> git.basschouten.com Git - openhab-addons.git/commitdiff
[mqtt.generic] Fix default values in switch/contact channels (#9760)
authorJochen Klein <git@jochen.susca.de>
Sat, 23 Jan 2021 20:11:39 +0000 (21:11 +0100)
committerGitHub <noreply@github.com>
Sat, 23 Jan 2021 20:11:39 +0000 (21:11 +0100)
Signed-off-by: Jochen Klein <git@jochen.susca.de>
bundles/org.openhab.binding.mqtt.generic/src/main/resources/OH-INF/config/switch-channel-config.xml

index ae15f7e9a20493cd11c71c2161522f2e219fcdd2..72d9e16124935ab8a10d4c757102c8e640cf7d5e 100644 (file)
                        <label>Custom On/Open Value</label>
                        <description>A number (like 1, 10) or a string (like "enabled") that is additionally recognised as on/open state. You
                                can use this parameter for a second keyword, next to ON (OPEN respectively on a Contact).</description>
-                       <default>1</default>
                </parameter>
                <parameter name="off" type="text">
                        <label>Custom Off/Closed Value</label>
                        <description>A number (like 0, -10) or a string (like "disabled") that is additionally recognised as off/closed
                                state. You can use this parameter for a second keyword, next to OFF (CLOSED respectively on a Contact).</description>
-                       <default>0</default>
                </parameter>
        </config-description>
 </config-description:config-descriptions>