diff --git a/bundles/org.openhab.ui.basic/web-src/smarthome.js b/bundles/org.openhab.ui.basic/web-src/smarthome.js index d7cae6996..a3711d5d2 100644 --- a/bundles/org.openhab.ui.basic/web-src/smarthome.js +++ b/bundles/org.openhab.ui.basic/web-src/smarthome.js @@ -1332,9 +1332,9 @@ _t.longPress = false; _t.pressed = false; - _t.setValue = function(value) { + _t.setValue = function(value, itemState) { var - t = value.split(","), + t = itemState.split(","), hsv = { h: t[0] / 360, s: t[1] / 100,