Arguments for Rule Machine Actions?

I'm moving from ST and have a WebCore rule I use to notify my wife and I of things we only care about when home. It is handy to not have to duplicate the logic in every rule that I want to do these notifications in.

Could we get arguments for Rule Machine Actions so this is possible in Hubitat as well?

Use a global variable.

1 Like

Oh right, sorry should have thought of that. Just need to be careful about concurrent notifications then right?

Also, when you run the actions from another rule, it passes the event information along. So if all you need is the device that caused the action to be run, that is available in %device%, %value%, etc.

1 Like

Great to know, thank you! I'll post back my Action when I get it setup.