Make the entity names for systemmonitor sensors a bit nicer

This prevents them from having trailing whitespace, which makes them
end with `_`.
This commit is contained in:
Jeff Schroeder 2015-09-14 21:19:13 -05:00
parent bf64956265
commit 0afb6114c5

View file

@ -119,7 +119,7 @@ class SystemMonitorSensor(Entity):
@property
def name(self):
return self._name
return self._name.rstrip()
@property
def state(self):