Fix final pep257 issues

This commit is contained in:
Paulus Schoutsen committed 2016-03-09 23:34:38 -08:00
1 parent 14a9b9fe3f
commit b9856a2af5
8 files changed
+8 -6

No files matched your search

@@ -56,6 +56,7 @@ class ModbusSwitch(ToggleEntity):
self.register_value = None
def __str__(self):
"""String representation of Modbus switch."""
return "%s: %s" % (self.name, self.state)
@property