Add statistics support to iperf3 (#85771)

This commit is contained in:
Yuval Aboulafia 2023-01-12 22:02:56 +02:00 committed by GitHub
parent 1f6efe8c3e
commit 578a1cdc02
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 3 deletions

View file

@ -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):