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