mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Fix log error message (#18305)
* Fix log error message * Update __init__.py
This commit is contained in:
parent
5bab0018f5
commit
e2fca0691e
@ -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…
x
Reference in New Issue
Block a user