Remove unnecessary async_add_job in face processing of image_processing (#106323)
This commit is contained in:
parent
bd6e2c54e1
commit
2f72d4f9f0
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue