HI ,
i am implementing a binding in openhab and created configuration parameter according below structure in my thing type definition.
Unfortunately the echohandling parameter of type boolean is not shown in the thing configuration properties while creating the thing. I would expect a kind of checkbox for the boolean configuration parameter.
<config-description>
<parameter name="port" type="text" required="true">
<context>network-address</context>
<label>Portname</label>
<description>Serial port to use connecting to the metering device e.g. COM1 for Windows and /dev/ttyS0 or /dev/ttyUSB0 for Linux.</description>
<default>/dev/ttyS0</default>
</parameter>
<parameter name="baudRateChangeDelay" type="decimal" min="0" max="250" step="1" required="false">
<context>network-address</context>
<label>Baud rate change</label>
<description>Delay of baud rate change in ms. Default is 0. USB to serial converters often require a delay of up to 250ms default is 0ms.</description>
<default>0</default>
</parameter>
<parameter name="echoHandling" type="boolean" required="true">
<context>network-address</context>
<label>Echo handling</label>
<description>Enable handling of echos caused by some optical tranceivers. Default value is true.</description>
<default>false</default>
</parameter>
<parameter name="initMessage" type="text" required="false">
<context>network-address</context>
<label>Extra pre init bytes</label>
<description>extra pre init bytes. Default value is empty.</description>
<default></default>
</parameter>
<parameter name="refresh" type="integer" required="true">
<label>Meter refresh rate</label>
<description>Refresh rate in [s] to query the meter data.</description>
<default>60</default>
</parameter>
</config-description>
Is there anything wrong with above way to configure the boolean config parameter?
I am using current git version 2.1 of openhab
BR
peter