From 85c40d29ee72c487c0fb288c31d54b9c8a8928d9 Mon Sep 17 00:00:00 2001 From: Steven Looman Date: Sun, 2 Sep 2018 17:03:31 +0200 Subject: [PATCH] Linting --- homeassistant/components/sensor/igd.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/homeassistant/components/sensor/igd.py b/homeassistant/components/sensor/igd.py index cb0ceb752b0..908e465aedb 100644 --- a/homeassistant/components/sensor/igd.py +++ b/homeassistant/components/sensor/igd.py @@ -133,7 +133,7 @@ class PerSecondIGDSensor(Entity): @property def unit(self) -> str: - """Unit we are measuring in.""" + """Get unit we are measuring in.""" raise NotImplementedError() @property @@ -196,11 +196,11 @@ class KBytePerSecondIGDSensor(PerSecondIGDSensor): @property def unit(self) -> str: - """Unit we are measuring in.""" + """Get unit we are measuring in.""" return 'kbyte' async def _async_fetch_value(self) -> float: - """""" + """Fetch value from device.""" if self._direction == IN: return await self._device.async_get_total_bytes_received() @@ -220,11 +220,11 @@ class PacketsPerSecondIGDSensor(PerSecondIGDSensor): @property def unit(self) -> str: - """Unit we are measuring in.""" + """Get unit we are measuring in.""" return 'packets' async def _async_fetch_value(self) -> float: - """""" + """Fetch value from device.""" if self._direction == IN: return await self._device.async_get_total_packets_received()