mirror of
https://github.com/home-assistant/core.git
synced 2026-05-03 19:41:15 +02: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