Correct error message in Microsoft Face (#35096)

pull/35101/head
ochlocracy 2020-05-02 20:39:51 -04:00 committed by GitHub
parent 9efca0079c
commit 984a2769db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -189,7 +189,9 @@ async def async_setup(hass, config):
binary=True,
)
except HomeAssistantError as err:
_LOGGER.error("Can't delete person '%s' with error: %s", p_id, err)
_LOGGER.error(
"Can't add an image of a person '%s' with error: %s", p_id, err
)
hass.services.async_register(
DOMAIN, SERVICE_FACE_PERSON, async_face_person, schema=SCHEMA_FACE_SERVICE