mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
Add state attribute translations for device trackers (#89810)
This commit is contained in:
parent
298dae55fa
commit
e6f280cf7a
@ -15,6 +15,29 @@
|
|||||||
"state": {
|
"state": {
|
||||||
"home": "[%key:common::state::home%]",
|
"home": "[%key:common::state::home%]",
|
||||||
"not_home": "[%key:common::state::not_home%]"
|
"not_home": "[%key:common::state::not_home%]"
|
||||||
|
},
|
||||||
|
"state_attributes": {
|
||||||
|
"battery": {
|
||||||
|
"name": "Battery"
|
||||||
|
},
|
||||||
|
"gps_accuracy": {
|
||||||
|
"name": "GPS accuracy"
|
||||||
|
},
|
||||||
|
"latitude": {
|
||||||
|
"name": "Latitude"
|
||||||
|
},
|
||||||
|
"longitude": {
|
||||||
|
"name": "Longitude"
|
||||||
|
},
|
||||||
|
"source_type": {
|
||||||
|
"name": "Source",
|
||||||
|
"state": {
|
||||||
|
"bluetooth_le": "Bluetooth LE",
|
||||||
|
"bluetooth": "Bluetooth",
|
||||||
|
"gps": "GPS",
|
||||||
|
"router": "Router"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user