mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Fix log string in Traccar Server Coordinator (#109709)
This commit is contained in:
parent
bf8bd5ff21
commit
d49eff651b
@ -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]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user