Hi, for a reason that I ignore, the body of this if statement is ran on a Venu2 Plus although this watch has no recovery time feature...
var info = ActivityMonitor.getInfo();
if (value == null && (info has :timeToRecovery)) {
value = info.timeToRecovery; // Info time to recovery is in hours
}
Of course, it crashes because the timeToRecovery field isn't there. Am I missing something here?
PS. I can't paste as code as it says for some reason that I've been blocked when I click on Ok.