mirror of
https://github.com/home-assistant/core.git
synced 2025-07-17 10:17:09 +00:00
Remove unnecessary use of async_add_job in openalpr_cloud (#113116)
This commit is contained in:
parent
427de00524
commit
ebd17687e0
@ -142,8 +142,7 @@ class ImageProcessingAlprEntity(ImageProcessingEntity):
|
|||||||
|
|
||||||
# Send events
|
# Send events
|
||||||
for i_plate in new_plates:
|
for i_plate in new_plates:
|
||||||
self.hass.async_add_job(
|
self.hass.bus.async_fire(
|
||||||
self.hass.bus.async_fire,
|
|
||||||
EVENT_FOUND_PLATE,
|
EVENT_FOUND_PLATE,
|
||||||
{
|
{
|
||||||
ATTR_PLATE: i_plate,
|
ATTR_PLATE: i_plate,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user