26.09.2019, 18:47
(This post was last modified: 26.09.2019, 18:50 by Erwin van der Zwart.)
Hi,
Currently your script is executed on state "value", this means that during init the script is not executed as state is "init" in that case, you could remove the "if (state == 'value') { ... }" condition to have it also executed on init so it is directly triggered after a refresh. Or you can add a extra condition likeĀ "if (state == 'init') { ... }"
BR,
Erwin
Currently your script is executed on state "value", this means that during init the script is not executed as state is "init" in that case, you could remove the "if (state == 'value') { ... }" condition to have it also executed on init so it is directly triggered after a refresh. Or you can add a extra condition likeĀ "if (state == 'init') { ... }"
BR,
Erwin