Welcome to the Google Home Developer Center, the new destination for learning how to develop smart home actions. Note: You'll continue building actions in the Actions console.
Stay organized with collections Save and categorize content based on your preferences.

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 ,  response ? :  IntentResponse ) : 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.

    • Optional response: IntentResponse

      Pending response to the intent request.

    Returns Promise<void>


  • reportState ( state Payload ) : undefined
  • reportState is called by app to report the changed state for the device. In the case of BLE Seamless Setup, it should be called whenever the app receives a BLE notification in ParseNotificationHandler.


    • state: Payload

      the latest state of the device

    Returns undefined