1) Give a description of the problem
Piston Status of TP-Link Switch does NOT update properly in WebCoRE but does show properly (usually) within ST App
2) What is the expected behavior?
Status of Switch to show CORRECT on/off status in WebCoRE
3) What is happening/not happening?
Status is not updating one way or another, remains off, when on and off, then remains on when on and off.
4) Post a Green Snapshot of the piston
5) Attach any logs (From ST IDE and by turning logging level to Full)
Not sure where or how to get this, as the status IS updating in ST, but sometimes (maybe?) in WebCoRE
POSSIBLE FIX
Added a “Poll” and “Refresh” in the command. This can be done BEFORE or during the execution. Not sure if it has to do with TPLink, but I noticed sometimes Smart Things/Kasa/Alexa/Etc etc etc would not update their statuses properly. So doing the Poll/Refresh, gets the current STATE and seems to work