Add icon translations to Fastdotcom (#111534)
This commit is contained in:
parent
1a61c6db1c
commit
2cee022bb7
2 changed files with 12 additions and 1 deletions
12
homeassistant/components/fastdotcom/icons.json
Normal file
12
homeassistant/components/fastdotcom/icons.json
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
{
|
||||||
|
"entity": {
|
||||||
|
"sensor": {
|
||||||
|
"download": {
|
||||||
|
"default": "mdi:speedometer"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"services": {
|
||||||
|
"speedtest": "mdi:speedometer"
|
||||||
|
}
|
||||||
|
}
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue