In writing sample code to understand how HomeKit works, I found that I don't get the the current value if I simply use the .value property such as:
let theValue = serviceCharacteristic.value
Rather, I'd run the standard Apple HomeKit application which seems to sync everything up with the database, run my application again and now I'll get the current value.
Is it only possible to truly get the device characteristic's current value only by using readValue?
func readValue(completionHandler completion: @escaping (Error?) -> Void)
If not, what other method should I be using?