Improve string formatting v2 (#33645)
* Improve string formatting v2 * Improve string formatting v3 * Address review comments
This commit is contained in:
@@ -316,7 +316,7 @@ class TraccarScanner:
|
||||
None,
|
||||
)
|
||||
self._hass.bus.async_fire(
|
||||
"traccar_" + self._event_types.get(event["type"]),
|
||||
f"traccar_{self._event_types.get(event['type'])}",
|
||||
{
|
||||
"device_traccar_id": event["deviceId"],
|
||||
"device_name": device_name,
|
||||
|
||||
Reference in New Issue
Block a user