Add icon translations to Nextbus (#111981)
parent
25ba046ff1
commit
895dc6fce1
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"entity": {
|
||||
"sensor": {
|
||||
"nextbus": {
|
||||
"default": "mdi:bus"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -105,7 +105,7 @@ class NextBusDepartureSensor(
|
|||
"""
|
||||
|
||||
_attr_device_class = SensorDeviceClass.TIMESTAMP
|
||||
_attr_icon = "mdi:bus"
|
||||
_attr_translation_key = "nextbus"
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
|
|
Loading…
Reference in New Issue