Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix flaky statistics sensor test #21848
I am not an expert of sqlalchemy, but the logic of the session_scope seems weird to me.
Hope it can fix the error we randomly saw in python 3.5 test
Related issue (if applicable): fixes #
Pull request in home-assistant.io with documentation (if applicable): home-assistant/home-assistant.io#<home-assistant.io PR number goes here>
Example entry for