Add icon translations to Nextbus (#111981)

pull/107957/head
Joost Lekkerkerker 2024-03-03 14:08:19 +01:00 committed by GitHub
parent 25ba046ff1
commit 895dc6fce1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 1 deletions

View File

@ -0,0 +1,9 @@
{
"entity": {
"sensor": {
"nextbus": {
"default": "mdi:bus"
}
}
}
}

View File

@ -105,7 +105,7 @@ class NextBusDepartureSensor(
"""
_attr_device_class = SensorDeviceClass.TIMESTAMP
_attr_icon = "mdi:bus"
_attr_translation_key = "nextbus"
def __init__(
self,