parent
f24979c7cf
commit
878e369c4a
|
@ -143,9 +143,10 @@ async def async_check_config(hass):
|
||||||
result = await hassio.check_homeassistant_config()
|
result = await hassio.check_homeassistant_config()
|
||||||
except HassioAPIError as err:
|
except HassioAPIError as err:
|
||||||
_LOGGER.error("Error on Hass.io API: %s", err)
|
_LOGGER.error("Error on Hass.io API: %s", err)
|
||||||
|
else:
|
||||||
if result['result'] == "error":
|
if result['result'] == "error":
|
||||||
return result['message']
|
return result['message']
|
||||||
|
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue