Add state attribute translations for device trackers (#89810)

This commit is contained in:
Franck Nijhof 2023-03-16 19:58:52 +01:00 committed by GitHub
parent 298dae55fa
commit e6f280cf7a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,6 +15,29 @@
"state": {
"home": "[%key:common::state::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"
}
}
}
}
}