Testing and submitting a smart home Action

Once you create a smart home Action, you should test the action. Then, you should share the smart home Action with additional people so that they can also test your Action.

Test an Action

To test your smart home Action:

  1. Go to the Actions console and select your project.

  2. On the Overview page, follow each section and fill in all of the informational fields for your project; most of these fields appear in the Actions directory. Don't worry if you don't have all of the information finalized for your project. You can save your progress by clicking the SAVE button near the bottom of each page.

  3. From the left navigation menu, select Advanced options and then Account linking. You can set up authentication so that users can link their accounts to your Action.

  4. Link your Google account to your smart home agent using the Google Home app:

    1. Open the Google Home app.
    2. Click the + button.
    3. Click the Set up device button.
    4. Click the Have something already set up? button.
    5. Select your smart home Action from the list of providers.
    6. Sign in to your service.
  5. In the Actions console, click the Simulator button to test your app.

Share an Action

Invite additional people to your project so they can test your smart home Action. To test your Action, your Actions project must contain at least one Action (located under Build and then Actions).

  1. Go to the Actions console and select your project.
  2. In the left navigation menu, select the gear icon and then Permissions. This redirects you to the IAM page for your project.
  3. Click ADD to set a team member's access to your project. You must be an owner of the project.
  4. Type the member's email address in the Members box. To assign view access, from the Roles menu, select Project and then Viewer.

  5. In the Actions console, select the Simulator and click SHARE. You can share this link with the members who are granted access.

  6. After you share the link with another user, that user must follow the link to the Actions simulator landing page and then toggle the Test Status to Active and click START.

Submit an Action

After you have tested your smart home Action, you must use the smart home test suite. This test suite allows you to run tests for your smart home Action and then share the test results with Google.

Once you have run the smart home test suite and submitted the test results to Google, you need to submit your smart home Action.

To submit your smart home Action:

  1. Go to the Actions console and select your project.

  2. From the left navigation menu, select Deploy and then Release.

  3. From the Production section, click the SUBMIT FOR PRODUCTION button.

Analytics for an Action

Once your smart home Action is published, you gain access to useful analytics in the Actions console including:

  • Daily active users
  • Command execution counts
  • Errors
  • Latency
  • Directory stats

To learn more, see the Analytics and Health documentation.