1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-26 22:18:40 +00:00

Fix final pep257 issues

This commit is contained in:
Paulus Schoutsen
2016-03-09 23:34:38 -08:00
parent 14a9b9fe3f
commit b9856a2af5
8 changed files with 8 additions and 6 deletions

View File

@@ -96,6 +96,7 @@ class VeraSensor(Entity):
self.update_ha_state(True)
def __str__(self):
"""String representation of sensor."""
return "%s %s %s" % (self.name, self.vera_device.device_id, self.state)
@property