readAttributePaths(_:)
Read the attributes identified by the provided attribute paths. The paths can include wildcards.
Declaration
func readAttributePaths(_ attributePaths: [MTRAttributeRequestPath]) -> [[String : Any]]Return Value
An array of response-value dictionaries as described in the documentation for MTRDeviceResponseHandler. Each one will have an MTRAttributePathKey and an MTRDataKey.
Discussion
Paths that do not correspond to any existing attributes, or that the MTRDevice does not have attribute values for, will not be present in the return value from this function.