Badge reports NaN instead of temperature #16

Open
braiam opened this Issue Jun 2, 2016 · 2 comments

Projects

None yet

2 participants

@braiam
braiam commented Jun 2, 2016

I'm not sure what should be the desirable behavior. We validate val before consume it, to make sure that it is a number and then either: show an error (something like "!" in red?) or just reuse the old one.

I'm not sure what triggered this, and couldn't see from where val comes from, but I think that we should validate data before using it anyways.

@alexis-jaksone
Owner

Can you describe steps to regenerate the NaN on badge?

@braiam
braiam commented Jun 8, 2016

I'm not sure what triggered this

But I would presume that it was due a timeout.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment