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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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_device_class = SensorDeviceClass.DATA_RATE
_attr_native_unit_of_measurement = UnitOfDataRate.MEGABITS_PER_SECOND _attr_native_unit_of_measurement = UnitOfDataRate.MEGABITS_PER_SECOND
_attr_state_class = SensorStateClass.MEASUREMENT _attr_state_class = SensorStateClass.MEASUREMENT
_attr_icon = "mdi:speedometer"
_attr_should_poll = False _attr_should_poll = False
_attr_has_entity_name = True _attr_has_entity_name = True