Home Assistant Unofficial Reference 2024.12.1
location.py File Reference

Go to the source code of this file.

Namespaces

 homeassistant.helpers.location
 

Functions

str homeassistant.helpers.location._get_location_from_attributes (State entity_state)
 
State|None homeassistant.helpers.location.closest (float latitude, float longitude, Iterable[State] states)
 
str|None homeassistant.helpers.location.find_coordinates (HomeAssistant hass, str name, list|None recursion_history=None)
 
bool homeassistant.helpers.location.has_location (State state)
 
str|None homeassistant.helpers.location.resolve_zone (HomeAssistant hass, str zone_name)
 

Variables

 homeassistant.helpers.location._LOGGER = logging.getLogger(__name__)