Capture attributes of multiple devices to variable(s)


I want to lower the volume of ECHO devices before an ANNOUNCEMENT and restore when announcement is finished. I’m sending announcement to FOUR different devices. Will RESTORE ATTRIBUTES restore multiple devices?

Attaching code for piston that works for ONE device and code that needs to be modified.

Could I use an ARRAY and a WHILE LOOP to send CURRENT LEVEL (before announcement) to variable(s) and restore that level individually? Seems like more code than it needs.

Global Store vs. Local Store