fhem-tablet-ui icon indicating copy to clipboard operation
fhem-tablet-ui copied to clipboard

push: countdown progress display for "on-for-timer" not working correctly

Open schitzosteve2 opened this issue 6 years ago • 1 comments

I try to use the push widget with the countdown progress display. It is working if I set data-set-on="on-for-timer 60" but not if I set data-set-on='["on-for-timer 60","off"]'. Seems like the widget is not able to read the on-for-timer value if you use arrays for data-set-on.

schitzosteve2 avatar Mar 02 '18 22:03 schitzosteve2

Now I have checked the code and found that it explicitly deactivated countdown progress if data-set-on is an array. I would like to change the code, but I did not manage to get the current state (should be "on").

schitzosteve2 avatar Mar 03 '18 09:03 schitzosteve2