Add an optional extended description…
This commit is contained in:
Fabian Affolter
2017-06-08 15:53:12 +02:00
committed by Pascal Vizeli
parent 1e352d37d0
commit 0863d50210
13 changed files with 27 additions and 30 deletions

View File

@@ -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