mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
Clarify cloud docstring (#64841)
This commit is contained in:
parent
3a978fc244
commit
8ea2f865ed
@ -117,7 +117,10 @@ class CloudNotAvailable(HomeAssistantError):
|
||||
@bind_hass
|
||||
@callback
|
||||
def async_is_logged_in(hass: HomeAssistant) -> bool:
|
||||
"""Test if user is logged in."""
|
||||
"""Test if user is logged in.
|
||||
|
||||
Note: This returns True even if not currently connected to the cloud.
|
||||
"""
|
||||
return DOMAIN in hass.data and hass.data[DOMAIN].is_logged_in
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user