cancel
Showing results for 
Search instead for 
Did you mean: 

Missing automations in Home APIs

GoogleDeveloper
Solutions Expert
Solutions Expert

I’m unable to see or access previously created automations using the APIs, what’s wrong?

1 Recommended Answer

GoogleDeveloper
Solutions Expert
Solutions Expert

The APIs return automations available on a structure only if they are created with the same app. The primary check in this regard is done against the package name of your app (for example com.example.appname). If you recently changed the package name you used during development, the APIs will not return the automations from the prior runs (even though those automations continue to exist on the structure). The only exception to this is the Google Home App, which lists all automations on a given structure and account, regardless of which app creates them. If you have old automations that you want to delete but cannot access, you can use Google Home App to do so.

View Recommended Answer in original post

1 REPLY 1

GoogleDeveloper
Solutions Expert
Solutions Expert

The APIs return automations available on a structure only if they are created with the same app. The primary check in this regard is done against the package name of your app (for example com.example.appname). If you recently changed the package name you used during development, the APIs will not return the automations from the prior runs (even though those automations continue to exist on the structure). The only exception to this is the Google Home App, which lists all automations on a given structure and account, regardless of which app creates them. If you have old automations that you want to delete but cannot access, you can use Google Home App to do so.