Skip to content

Commit

Permalink
Adjust icons for iperf3 (#85809)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuvalabou committed Jan 23, 2023
1 parent fb81b17 commit a1a324a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions homeassistant/components/iperf3/__init__.py
Expand Up @@ -49,21 +49,19 @@
ATTR_VERSION = "Version"
ATTR_HOST = "host"

ICON = "mdi:speedometer"

SENSOR_TYPES: tuple[SensorEntityDescription, ...] = (
SensorEntityDescription(
key=ATTR_DOWNLOAD,
name=ATTR_DOWNLOAD.capitalize(),
icon=ICON,
icon="mdi:download",
state_class=SensorStateClass.MEASUREMENT,
device_class=SensorDeviceClass.DATA_RATE,
native_unit_of_measurement=UnitOfDataRate.MEGABITS_PER_SECOND,
),
SensorEntityDescription(
key=ATTR_UPLOAD,
name=ATTR_UPLOAD.capitalize(),
icon=ICON,
icon="mdi:upload",
state_class=SensorStateClass.MEASUREMENT,
device_class=SensorDeviceClass.DATA_RATE,
native_unit_of_measurement=UnitOfDataRate.MEGABITS_PER_SECOND,
Expand Down

0 comments on commit a1a324a

Please sign in to comment.