In some pistons I have a device variable that I have assigned multiple devices to.
While it is easy to use the log>physical devices to return the average value of a specific type(illumination, temperature, dimmer level) I want to also be able to log this as a piston state using an expression.
This could be something like "the average temperature or average dimmer levels are: xx" But I am having trouble writing this out as an expresion. What am I doing wrong?