mirror of
https://github.com/home-assistant/core.git
synced 2025-07-31 19:25:12 +02:00
committed by
Pascal Vizeli
parent
1e352d37d0
commit
0863d50210
@@ -9,7 +9,7 @@ DATA_LOCATION_CACHE = 'astral_location_cache'
|
||||
|
||||
@callback
|
||||
def get_astral_location(hass):
|
||||
"""Get an astral location for the current hass configuration."""
|
||||
"""Get an astral location for the current Home Assistant configuration."""
|
||||
from astral import Location
|
||||
|
||||
latitude = hass.config.latitude
|
||||
|
Reference in New Issue
Block a user