Thank you for reaching out with your question. From your description, it sounds like you are a developer working with cloud-to-cloud APIs to integrate your devices with Google Home. Let me clarify a few things to help address your concerns.
Key Points About Cloud-to-Cloud Integration:
In the cloud-to-cloud API process, both adding and deleting devices are
handled using the same API, which is the Sync Intent. Every time Google sends a SYNC
request, your server must respond with the current and accurate list of devices and their capabilities.
This process ensures that the Google Home ecosystem reflects the exact state of your devices based on your server's response. Here’s the documentation for the Sync Intent that outlines how this works.
The system does not differentiate between a device being refreshed or added; it only relies on the current state you provide in your Sync Intent response. As long as your server accurately reflects the list of devices, Google will synchronize correctly.
Sync Intent: Sends a request for the list of devices and their capabilities.
Query Intent: Used to fetch the current state of devices when a user asks, “Is my device doing X?”
Execute Intent: Used to send user commands, such as “Turn on the light.”
For more details about these intents, check the Intent Fulfillment documentation.
If you notice a device isn’t showing up or syncing properly, ensure:
Your Sync Intent response includes the device with accurate details and capabilities.
There are no errors in your HTTP request/response. Refer to Google Home Error Codes for more details.
Next Steps:
Ensure that your server’s response to the Sync Intent is complete and accurate.
Use the Smart Home Sync Validator to test your responses and validate your integration.
If you have further questions or need specific examples of HTTP requests/responses, feel free to check the Cloud-to-Cloud API Documentation.