diff --git a/fhem/www/pgm2/fhemweb_iconSwitch.js b/fhem/www/pgm2/fhemweb_iconSwitch.js index 602bdebf7..b98f3b1e8 100644 --- a/fhem/www/pgm2/fhemweb_iconSwitch.js +++ b/fhem/www/pgm2/fhemweb_iconSwitch.js @@ -133,6 +133,7 @@ FW_iconSwitchCreate(elName, devName, vArr, currVal, set, params, cmd) $(newEl).find("label").attr("style","border-style:solid; background-color:#f6f6f6; background-image:none;font-size: inherit;"); } } + currVal = arg; /********* beaune *********/ button.button("refresh"); };