Bugfix async Yr.no (#4190)

This commit is contained in:
Pascal Vizeli authored and Johann Kellerman committed 2016-11-03 11:09:03 +02:00
1 parent 79fa2d4175
commit c2a5f63b1f
1 file changed
+1
+1
View File
@@ -57,6 +57,7 @@ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
})
@asyncio.coroutine
def async_setup_platform(hass, config, async_add_devices, discovery_info=None):
"""Setup the Yr.no sensor."""
latitude = config.get(CONF_LATITUDE, hass.config.latitude)