mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 09:47:13 +00:00
Remove unnecessary async_add_job in face processing of image_processing (#106323)
This commit is contained in:
parent
bd6e2c54e1
commit
2f72d4f9f0
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user