[mqtt.generic] Fix default values in switch/contact channels (#9760)

Signed-off-by: Jochen Klein <git@jochen.susca.de>
This commit is contained in:
Jochen Klein 2021-01-23 21:11:39 +01:00 committed by GitHub
parent 6bddad1066
commit f2ed9841df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -83,13 +83,11 @@
<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>