---
title: "clearWeeklySchedule(completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterthermostat/clearweeklyschedule(completion:)"
---

# clearWeeklySchedule(completion:)

## Declaration

```swift
func clearWeeklySchedule(completion: @escaping @Sendable ((any Error)?) -> Void)
```

```swift
func clearWeeklySchedule() async throws
```
