Add icon translations to Fastdotcom (#111534)

This commit is contained in:
Joost Lekkerkerker
2024-02-28 08:51:10 +01:00
committed by GitHub
parent 1a61c6db1c
commit 2cee022bb7
2 changed files with 12 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
{
"entity": {
"sensor": {
"download": {
"default": "mdi:speedometer"
}
}
},
"services": {
"speedtest": "mdi:speedometer"
}
}

View File

@@ -36,7 +36,6 @@ class SpeedtestSensor(
_attr_device_class = SensorDeviceClass.DATA_RATE
_attr_native_unit_of_measurement = UnitOfDataRate.MEGABITS_PER_SECOND
_attr_state_class = SensorStateClass.MEASUREMENT
_attr_icon = "mdi:speedometer"
_attr_should_poll = False
_attr_has_entity_name = True