mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 21:25:13 +02:00
Fix log string in Traccar Server Coordinator (#109709)
This commit is contained in:
@@ -78,7 +78,7 @@ class TraccarServerCoordinator(DataUpdateCoordinator[TraccarServerCoordinatorDat
|
|||||||
self.client.get_geofences(),
|
self.client.get_geofences(),
|
||||||
)
|
)
|
||||||
except TraccarException as ex:
|
except TraccarException as ex:
|
||||||
raise UpdateFailed("Error while updating device data: %s") from ex
|
raise UpdateFailed(f"Error while updating device data: {ex}") from ex
|
||||||
|
|
||||||
if TYPE_CHECKING:
|
if TYPE_CHECKING:
|
||||||
assert isinstance(devices, list[DeviceModel]) # type: ignore[misc]
|
assert isinstance(devices, list[DeviceModel]) # type: ignore[misc]
|
||||||
|
Reference in New Issue
Block a user