Fixes for PEP257 (#11810)

* Fixes for PEP257

* More updates
This commit is contained in:
Fabian Affolter 2018-01-21 07:35:38 +01:00 committed by Paulus Schoutsen
parent 0100f87ff2
commit 47e31dc9ee
143 changed files with 1584 additions and 1761 deletions

View file

@ -86,12 +86,12 @@ class DeconzSensor(Entity):
@property
def unit_of_measurement(self):
"""Unit of measurement of this sensor."""
"""Return the unit of measurement of this sensor."""
return self._sensor.sensor_unit
@property
def available(self):
"""Return True if sensor is available."""
"""Return true if sensor is available."""
return self._sensor.reachable
@property