Add icon translations to Tankerkoenig (#108499)
parent
6901a80a70
commit
f40c8ce403
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"entity": {
|
||||
"sensor": {
|
||||
"e5": {
|
||||
"default": "mdi:gas-station"
|
||||
},
|
||||
"e10": {
|
||||
"default": "mdi:gas-station"
|
||||
},
|
||||
"diesel": {
|
||||
"default": "mdi:gas-station"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -60,7 +60,6 @@ class FuelPriceSensor(TankerkoenigCoordinatorEntity, SensorEntity):
|
|||
_attr_attribution = ATTRIBUTION
|
||||
_attr_state_class = SensorStateClass.MEASUREMENT
|
||||
_attr_native_unit_of_measurement = CURRENCY_EURO
|
||||
_attr_icon = "mdi:gas-station"
|
||||
|
||||
def __init__(self, fuel_type, station, coordinator, show_on_map):
|
||||
"""Initialize the sensor."""
|
||||
|
|
Loading…
Reference in New Issue