Remove cloud from mypy ignore list (#74449)

This commit is contained in:
epenet 2022-07-15 10:47:30 +02:00 committed by GitHub
parent 3e98ac180c
commit 911402e747
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 14 additions and 13 deletions

View file

@ -419,6 +419,7 @@ async def websocket_hook_delete(hass, connection, msg):
async def _account_data(hass: HomeAssistant, cloud: Cloud):
"""Generate the auth data JSON response."""
assert hass.config.api
if not cloud.is_logged_in:
return {
"logged_in": False,