1) Give a description of the problem
It’s an Alert piston, that set’s several RGBW lights to ‘Red’ if any external doors are open or unlocked. The state of the RGBW lights is saved on the first fault, and hopefully restored once all faults are cleared. The restoration is usually incorrect.
2) What is the expected behavior?
The saved state should be consistently restored to all 3 RGBW bulbs,.
3) What is happening/not happening?
The results are erratic. Most times, at least one of the RGBW is not set to the saved state. It’s not always the same RGBW bulb that is mis-set. Most times, at least one bulb is set to a seemingly random color. Sometimes the on/off state is incorrectly set on RBGW bulb.
**4) Post a Green Snapshot of the piston
**5) Attach any logs (From [ST IDE]
Logs appear correct - I see the relevant saveStateGlobally and loadStateGlobally commands at the proper time. But while loadState does report the values it’s setting, saveState does not record what got saved. So I can’t tell if the problem is in the save or the load.