openhab / org.openhab.ui.habmin

HABmin - a graphical user interface for openHAB 2
231 stars 92 forks source link

Saving decimal type config parameter not being persisted #238

Closed mhilbush closed 7 years ago

mhilbush commented 7 years ago

If I have a thing config parameter defined like this, when I try to save a new value using HABmin, the change is not persisted. When I do the same function using Paper UI, the change is persisted.

The specific case was changing the default (8.0) to 20.0.

        <config-description uri="thing-type:sunsetwx:config">
            <parameter name="radius" type="decimal" required="true" min="0.0" max="1667.0">
                <label>Radius</label>
                <description>Enter the radius in kilometers</description>
                <default>8.0</default>
            </parameter>
        </config-description>

cdjackson commented 7 years ago

I've made a change that I hope will fix this - I'll kick off a build soon - I just want to look at another issue first...

mhilbush commented 7 years ago

That worked.

cdjackson commented 7 years ago

Thanks.