You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, we update self._temperature and self._humidity, even if it
turns out that the data returned by the sensor was bogus. If the user
queries the data within two seconds after an error, they will actually
get wrong data.
Fix this by updating _temperature and _humidity attributes only if no
error was detected.
0 commit comments