I am just starting to learn Groovy and I’ve come across a situation I am unable to google
How can use the same function (or event handler) to process an event from two different sensors? Is it possible to pass the name of the sensor as input to the function or can I probe some property of the event for the sensor information?
These are temperature sensors by the way.