Better handling if data is not existent in Oura cloud
leikoilja opened this issue · 2 comments
Hey, thanks for the integration, great stuff 🔥
So, I just got Oura ring and setup the integration getting a few console errors like so:
And the error message is fair enough, the could indeed has no historical data yet, it only has data for the past 2 days.
Suggestion: instead of error
log entires, log it as warning
or even debug
saying "no data found for X day, skipping..." or smth like that :)
Hi @leikoilja - thanks for using it and the feedback.
I think both are good feedack. Warning seems more appropriate as it may or may not be an issue. One of the messages is already info, but I think they could be combined into one with some change in logic. I also like the idea of changing to "No data found for" instead of "Unable to read".
Let me test and send a quick change.