mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 01:08:12 +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
|
||||
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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user