---
title: "goHome(with:completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterrvcoperationalstate/gohome(with:completion:)"
---

# goHome(with:completion:)

Command GoHome

## Declaration

```swift
func goHome(with params: MTRRVCOperationalStateClusterGoHomeParams?, completion: @escaping @Sendable (MTRRVCOperationalStateClusterOperationalCommandResponseParams?, (any Error)?) -> Void)
```

```swift
func goHome(with params: MTRRVCOperationalStateClusterGoHomeParams?) async throws -> MTRRVCOperationalStateClusterOperationalCommandResponseParams
```

## Discussion

Discussion On receipt of this command, the device SHALL start seeking the charging dock, if possible in the current state of the device.
