1
0
mirror of https://github.com/home-assistant/core.git synced 2026-07-03 20:56:06 +01:00

Translate the name of the Tractive tracker (#172747)

This commit is contained in:
Maciej Bieniek
2026-06-01 16:02:22 +02:00
committed by GitHub
parent 58d5db7494
commit ecd132b60c
2 changed files with 7 additions and 1 deletions
+2 -1
View File
@@ -29,7 +29,8 @@ class TractiveEntity(Entity):
self._attr_device_info = DeviceInfo(
configuration_url="https://my.tractive.com/",
identifiers={(DOMAIN, tracker_details["_id"])},
name=f"Tracker {tracker_details['_id']}",
translation_key="tracker",
translation_placeholders={"id": tracker_details["_id"]},
manufacturer="Tractive GmbH",
sw_version=tracker_details["fw_version"],
model_id=tracker_details["model_number"],
@@ -20,6 +20,11 @@
}
}
},
"device": {
"tracker": {
"name": "Tracker {id}"
}
},
"entity": {
"binary_sensor": {
"tracker_power_saving": {