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