mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 17:27:10 +00:00
Add icon translations to Nextbus (#111981)
This commit is contained in:
parent
25ba046ff1
commit
895dc6fce1
9
homeassistant/components/nextbus/icons.json
Normal file
9
homeassistant/components/nextbus/icons.json
Normal file
@ -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…
x
Reference in New Issue
Block a user