CoRE - Get peer assistance here with setting up Pistons

The $currentEventDevice represents the device that triggered the event that fired the piston. Stays is initially triggered by a device, and then it sets a timer for the requested time. Once that time elapsed, it gets a time event that triggers it to re-evaluate. That is no longer a physical device, hence the lack of a name. What you see instead is the location id. Use the stays trigger to save the list of matching devices into a variable, then use that variable instead.

1 Like