Add statistics support to iperf3 (#85771)
This commit is contained in:
parent
1f6efe8c3e
commit
578a1cdc02
2 changed files with 7 additions and 3 deletions
|
@ -11,8 +11,6 @@ from homeassistant.helpers.typing import ConfigType, DiscoveryInfoType
|
|||
|
||||
from . import ATTR_VERSION, DATA_UPDATED, DOMAIN as IPERF3_DOMAIN, SENSOR_TYPES
|
||||
|
||||
ICON = "mdi:speedometer"
|
||||
|
||||
ATTR_PROTOCOL = "Protocol"
|
||||
ATTR_REMOTE_HOST = "Remote Server"
|
||||
ATTR_REMOTE_PORT = "Remote Port"
|
||||
|
@ -41,7 +39,6 @@ class Iperf3Sensor(RestoreEntity, SensorEntity):
|
|||
"""A Iperf3 sensor implementation."""
|
||||
|
||||
_attr_attribution = "Data retrieved using Iperf3"
|
||||
_attr_icon = ICON
|
||||
_attr_should_poll = False
|
||||
|
||||
def __init__(self, iperf3_data, description: SensorEntityDescription):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue