mirror of
https://github.com/home-assistant/core.git
synced 2025-08-12 09:05:15 +02:00
Use translations
This commit is contained in:
@@ -65,7 +65,7 @@ class StarlinkDeviceTrackerEntity(StarlinkEntity, TrackerEntity):
|
||||
DEVICE_TRACKERS = [
|
||||
StarlinkDeviceTrackerEntityDescription(
|
||||
key="device_location",
|
||||
name="Device location",
|
||||
translation_key="device_location",
|
||||
entity_registry_enabled_default=False,
|
||||
latitude_fn=lambda data: data.location["latitude"],
|
||||
longitude_fn=lambda data: data.location["longitude"],
|
||||
|
@@ -44,6 +44,11 @@
|
||||
"name": "Unexpected location"
|
||||
}
|
||||
},
|
||||
"device_tracker": {
|
||||
"device_location": {
|
||||
"name": "Device location"
|
||||
}
|
||||
},
|
||||
"sensor": {
|
||||
"ping": {
|
||||
"name": "Ping"
|
||||
|
Reference in New Issue
Block a user