When using ML to initiate a program, what determines the icon displayed and when does it change?
I am trying to use someones else's programs to create a 1 button toggle for my garage door, that also shows the actual current state.
He (Xathros on UDI forums) supposedly has a solution that works but it just doesn't for me (and at least one other person). Xathros states that the icon displayed for a program should reflect that programs state (true/false).
The programs that run do all the logic correctly, I only see a False when the door is close, and I only see a true when the door is open, but the icon only seems to change DURING the running of the program. Once the program terminates, the icon reverts back to its original version even though the door AND the program have changed state.
So again, the original question, when a program is a dashboard item, what determines the version of the icon that is displayed?