We've created some useful generic rule components to help you create advanced custom rules that weren't previously possible with the UI. These rule components expose the underlying structures that our rules engine is built upon. It is now possible to create rules with triggers and actions based on your custom devices.
Turn on Developer Mode in your Settings->Preferences
Navigate to the Rules page
Use the custom rule components (listed at the end of your device components)
For each component, select the device that it should correspond to.
Change Matches value and type. ie: a '===' comparison.