How to check which think/item triggered rule (Blocky)?

I’ve recently become a fan of Blocky :slight_smile: I think I’ve finally matured into this solution :slight_smile:

Anyway - I have several temperature sensors, I would like to make only one rule for all of them - “If the battery status of sensor #1 changes from 1 to 0 or if the battery status of sensor #2 changes from 1 to 0 etc.
then
[inline script in Blocky]
[var itemName = check which think (or item) triggered the rule].
[send notification “Sensor: " + itemName + " - please replace the battery”].

Is it possible to check in Blocky which think/item triggered rule?

image

You’ll find the contextual info block under “Run and Process”.

My champion @rlkoshak! You can always be counted on!

Thank you!