Update discovery.py
This commit is contained in:
parent
f05ec652e6
commit
ec18d14eb6
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ def async_setup_discovery(hass, hassio):
|
||||||
async def async_discovery_start_handler(event):
|
async def async_discovery_start_handler(event):
|
||||||
"""Process all exists discovery on startup."""
|
"""Process all exists discovery on startup."""
|
||||||
try:
|
try:
|
||||||
data = await hassio.get_services_discovery(uuid)
|
data = await hassio.receive_services_discovery()
|
||||||
except HassioAPIError as err:
|
except HassioAPIError as err:
|
||||||
_LOGGER.error(
|
_LOGGER.error(
|
||||||
"Can't read discover %s info: %s", uuid, err)
|
"Can't read discover %s info: %s", uuid, err)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue