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
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,