mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Add icon translations to Swiss public transport (#112254)
This commit is contained in:
parent
d7c91a4195
commit
f0487da6f6
@ -0,0 +1,9 @@
|
||||
{
|
||||
"entity": {
|
||||
"sensor": {
|
||||
"departure": {
|
||||
"default": "mdi:bus"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -108,7 +108,6 @@ class SwissPublicTransportSensor(
|
||||
"""Implementation of a Swiss public transport sensor."""
|
||||
|
||||
_attr_attribution = "Data provided by transport.opendata.ch"
|
||||
_attr_icon = "mdi:bus"
|
||||
_attr_has_entity_name = True
|
||||
_attr_translation_key = "departure"
|
||||
_attr_device_class = SensorDeviceClass.TIMESTAMP
|
||||
|
Loading…
x
Reference in New Issue
Block a user