mirror of
https://github.com/home-assistant/android
synced 2024-07-22 10:54:12 +00:00
Supply entity ID if friendly name is empty in android auto (#3609)
This commit is contained in:
parent
0ef3bc4461
commit
25999ac591
|
@ -63,7 +63,7 @@ class EntityGridVehicleScreen(
|
|||
val gridItem =
|
||||
GridItem.Builder()
|
||||
.setLoading(false)
|
||||
.setTitle(entity.friendlyName)
|
||||
.setTitle(entity.friendlyName.ifEmpty { entity.entityId })
|
||||
.setText(entity.friendlyState(carContext))
|
||||
|
||||
if (entity.isExecuting()) {
|
||||
|
|
Loading…
Reference in a new issue