1 parent
50b6c5948d
commit
ea2ff6aae3
26 files changed
+50
-49
No files matched your search
@@ -88,7 +88,7 @@ async def async_setup(hass, config):
|
||||
service = device.find_first_service(IP_SERVICE)
|
||||
if _service['serviceType'] == CIC_SERVICE:
|
||||
unit = config.get(CONF_UNITS)
|
||||
hass.async_add_job(discovery.async_load_platform(
|
||||
hass.async_create_task(discovery.async_load_platform(
|
||||
hass, 'sensor', DOMAIN, {'unit': unit}, config))
|
||||
except UpnpSoapError as error:
|
||||
_LOGGER.error(error)
|
||||
|
||||
Reference in new issue
Block a user