During night or ‘gloomy’ periods, this piston controls selected inside and outside lights when my wife and I arrive, or when the doorbell is pressed. It captures the current state of those lights (on/off, brightness), changes them to 100% for 5 minutes and then returns them to their previous state and level. Although this piston kinda works, the “prevent overwriting the current state” (only if store is empty) seems to be ignored. I used this piston in ST and it worked as expected.
When my wife’s and my phones arrive at different times (even though we’re in the same car) as is almost always the case, the second ‘close’ arrival should be ignored since there is already data in the local store. What’s not working correctly is that the second arrival is not ignored and the capture store is overwritten and the piston timer is restarted.
Here’s the piston:
As you can see below, last night the first presence arrival is overwritten by the second arrival 3.5-ish minutes later: