Fix missing await (#2180)

This commit is contained in:
Joakim Sørensen 2020-10-27 15:10:57 +01:00 committed by GitHub
parent ed9aea6219
commit 223e2f1df5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ class ResolutionNotify(CoreSysAttributes):
"""Create persistant notifications about issues."""
if (
not self.sys_resolution.issues
or not self.sys_homeassistant.api.check_api_state()
or not await self.sys_homeassistant.api.check_api_state()
):
return