Bugfix async Yr.no (#4190)
This commit is contained in:
1 parent
79fa2d4175
commit
c2a5f63b1f
1 file changed
+1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user