Join us online for the "Hey Google" Smart Home Summit on July 8th! Register here to learn what's new, and what's coming up for Google Smart Home.

This class provides access to the devices managed by the local home platform. Applications can use this interface to send and receive commands with a locally identified device using the send method.

  .then((result) => {
    // Handle command success
  .catch((err: IntentFlow.HandlerError) => {
    // Handle command error




  • getProxyInfo(id: string): ProxyInfo
  • getProxyInfo is called by app to get information about the hub / bridge controlling this end-device.


    • id: string

      Device ID of end device that is being controlled by the hub.

    Returns ProxyInfo


  • markPending(request: IntentRequest): Promise<void>
  • markPending is called by the app when app is done handling an intent, but the actual operation (usually EXECUTE command) is still not done. This enables Google Home to respond back to the user in a timely fashion. This may be useful for somewhat long running operations. Returns a promise.


    • request: IntentRequest

      Original intent request that should be marked pending.

    Returns Promise<void>