Remove unnecessary async_add_job in face processing of image_processing (#106323)

This commit is contained in:
Jan-Philipp Benecke 2023-12-23 23:30:31 +01:00 committed by GitHub
parent bd6e2c54e1
commit 2f72d4f9f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -262,7 +262,7 @@ class ImageProcessingFaceEntity(ImageProcessingEntity):
continue
face.update({ATTR_ENTITY_ID: self.entity_id})
self.hass.async_add_job(self.hass.bus.async_fire, EVENT_DETECT_FACE, face)
self.hass.bus.async_fire(EVENT_DETECT_FACE, face) # type: ignore[arg-type]
# Update entity store
self.faces = faces