Using device_type as trigger?

I?m starting to think I spend more time with PLEG then with my wife! :wink: It?s addictive, even for someone with no programing experience or mindset!

Is it possible to use a device_type as a trigger? For example, I want to make something happen (send a notification to my TTS setup) when ANY of my temperature sensors goes below a certain level.

Instead of adding ALL sensors as separate triggers, I would like my actions to trigger if the ā€œCurrentTemperatureā€ device property is below a certain value for ANY of the ā€œurn:schemas-micasaverde-com:device:TemperatureSensor:1ā€.

Is this possible?

No this is not possible with PLEG. You need to add Triggers (or Device Properties) for each device and OR them in a Condition.