Fix longitude (#6697)
This commit is contained in:
1 parent
35c679a956
commit
7eaad4fb3a
1 file changed
+1
-1
@@ -133,7 +133,7 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
|
||||
"""Setup the Dark Sky sensor."""
|
||||
# latitude and longitude are inclusive on config
|
||||
latitude = config.get(CONF_LATITUDE, hass.config.latitude)
|
||||
longitude = config.get(CONF_LONGITUDE, hass.config.latitude)
|
||||
longitude = config.get(CONF_LONGITUDE, hass.config.longitude)
|
||||
|
||||
if CONF_UNITS in config:
|
||||
units = config[CONF_UNITS]
|
||||
|
||||
Reference in new issue
Block a user