Contents

init(responseValue:)

Initialize an MTREnergyEVSEClusterGetTargetsResponseParams with a response-value dictionary of the sort that MTRDeviceResponseHandler would receive.

Declaration

init(responseValue: [String : Any]) throws

Discussion

Will return nil and hand out an error if the response-value dictionary is not a command data response or is not the right command response.

Will return nil and hand out an error if the data response does not match the known schema for this command.