Contents

setActiveScheduleRequestWith(_:completion:)

Command SetActiveScheduleRequest

Declaration

func setActiveScheduleRequestWith(_ params: MTRThermostatClusterSetActiveScheduleRequestParams, completion: @escaping  @Sendable ((any Error)?) -> Void)
func setActiveScheduleRequestWith(_ params: MTRThermostatClusterSetActiveScheduleRequestParams) async throws

Discussion

Upon receipt, if the Schedules attribute contains a ScheduleStruct whose ScheduleHandle field matches the value of the ScheduleHandle field, the server SHALL set the thermostat’s ActiveScheduleHandle attribute to the value of the ScheduleHandle field.