Add icon translations to Tankerkoenig (#108499)

This commit is contained in:
Jan Rieger 2024-01-20 16:18:32 +01:00 committed by GitHub
parent 6901a80a70
commit f40c8ce403
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 15 additions and 1 deletions

View File

@ -0,0 +1,15 @@
{
"entity": {
"sensor": {
"e5": {
"default": "mdi:gas-station"
},
"e10": {
"default": "mdi:gas-station"
},
"diesel": {
"default": "mdi:gas-station"
}
}
}
}

View File

@ -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."""