shauntarves/wyze-sdk

S Scale Latest Records not returning records

Closed this issue · 5 comments

Hi @shauntarves, as discussed here, seeing a weird issue with the s scale and not returning latest records. Happy to help however I can! One idea: we validated that client.scales.get_records(device_model=model, start_time=start_time, end_time=end_time) does return records, so maybe its a simple as for the scale, overriding the latest_records attribute to be pulling that data instead? Again, happy to help however I can!

Yeah, I'm going to patch that up in the next few days. Thanks for your patience

Hi @aaronsmith1234, could you please try with the referenced branch (https://github.com/shauntarves/wyze-sdk/tree/125-s-scale-latest-records-not-returning-records). I believe it is fixed now. If you confirm that it looks good, I'll create a new patch release.

@shauntarves i can confirm that this branch fixes the issue; records returned successfully. Thanks!

Hey @shauntarves just following up; can confirm that branch fixes the issue