ioBroker.vis icon indicating copy to clipboard operation
ioBroker.vis copied to clipboard

VIS jqui - log: type "boolean" but received type "number"

Open bahnuhr opened this issue 3 years ago • 1 comments

lt apollon soll ich hier nochmal ein issue anlegen: https://github.com/ioBroker/ioBroker.vis-jqui-mfd/issues/26

vgl.: https://forum.iobroker.net/topic/54188/vis-jqui-log-type-boolean-but-received-type-number?_=1649927342788

jqui erzeugt warn-Meldungen im log.

bahnuhr avatar Apr 19 '22 08:04 bahnuhr

Issue is that the widget always write 0/1 as value and that there is no way to specify true/false.

Proposed solution could be (like other widgets) to add attributed "min" and "max" and then have same logic ... on means "max" and max could be "true" which is converted to boolean if text is true. Then comparable widgets would behave same. Alternative add a new setting "set state as boolean" or such

Apollon77 avatar Apr 19 '22 08:04 Apollon77