fhem-tablet-ui
fhem-tablet-ui copied to clipboard
push: countdown progress display for "on-for-timer" not working correctly
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.
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").