Remove unnecessary use of async_add_job in openalpr_cloud (#113116)

This commit is contained in:
J. Nick Koston 2024-03-11 15:36:34 -10:00 committed by GitHub
parent 427de00524
commit ebd17687e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,