Subscription/Trigger based on Device Attribute

I’m primarily a WebCore user, but I’m willing to try any app that can do this. I want to be able to perform logic against and actions based on a device attribute. With RM, WebCore and others you have to subscribe to a device or devices. I want to be able to work in a way where the logic I’m building looks at any device I have on my hub that has an attribute of battery, contact, temperature, level, switch, etc. If any device that has that attribute changes states, it will execute the logic. Even with device variable groups, $currenteventdevice, $device and $devices variables in WebCore, I still have to declare the device(s). I want away where I can just add a new device to my hub and it automatically will perform actions based on changes to that specific attribute it has.

The security provisions of the hub prevent this. Every device has to be explicitly selected in an app in order to be acted upon. Device selectors in apps are based on attributes, and will offer all devices that possess the particular attribute, But, there is no way to do this 'automatically' without first making such a selection.

1 Like

Understood. It would just make management of my automations a little bit easier, but I have good device variable groups in WebCore which helps. Prevents having to go into every rule/piston one by one to make changes. I would be nice if Hubitat supported device variables like WebCore so I could use them in other apps.