mirror of
https://github.com/Electric-Special/ha-core.git
synced 2026-03-21 08:06:00 +01:00
Remove unnecessary use of async_add_job in openalpr_cloud (#113116)
This commit is contained in:
@@ -142,8 +142,7 @@ class ImageProcessingAlprEntity(ImageProcessingEntity):
|
||||
|
||||
# Send events
|
||||
for i_plate in new_plates:
|
||||
self.hass.async_add_job(
|
||||
self.hass.bus.async_fire,
|
||||
self.hass.bus.async_fire(
|
||||
EVENT_FOUND_PLATE,
|
||||
{
|
||||
ATTR_PLATE: i_plate,
|
||||
|
||||
Reference in New Issue
Block a user