Remove cloud from mypy ignore list (#74449)
This commit is contained in:
parent
3e98ac180c
commit
911402e747
4 changed files with 14 additions and 13 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue