Update discovery.py

This commit is contained in:
Pascal Vizeli 2018-09-27 12:40:25 +02:00 committed by GitHub
parent ec18d14eb6
commit 8a364ab4f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -41,7 +41,7 @@ def async_setup_discovery(hass, hassio):
async def async_discovery_start_handler(event):
"""Process all exists discovery on startup."""
try:
data = await hassio.receive_services_discovery()
data = await hassio.retrieve_services_discovery()
except HassioAPIError as err:
_LOGGER.error(
"Can't read discover %s info: %s", uuid, err)