mirror of
https://github.com/home-assistant/core.git
synced 2025-11-13 21:10:25 +00:00
Remove cloud from mypy ignore list (#74449)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user