Is there a way to enumerate or retrieve devices specific to the account? I cannot find it in documentation.
What I would like to do is to write a SmartApp that is specific to the devices I have at home and use that one app to contain all the rules for all devices. As a workaround I can certainly have the app “ask” for all devices during config, but as I am adding more and more devices it will be tedious.
Right now I have rules sitting in “Rule Machine” app (great app!), but maintenance/refactoring of these rules becomes complicated once there are more then 10 or so rules. Also I end up maintaining a state in “virtual switches” shared between rules and would much rather use API-provided “state” variable.