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:
1 parent
bf64956265
commit
0afb6114c5
1 file changed
+1
-1
@@ -119,7 +119,7 @@ class SystemMonitorSensor(Entity):
|
||||
|
||||
@property
|
||||
def name(self):
|
||||
return self._name
|
||||
return self._name.rstrip()
|
||||
|
||||
@property
|
||||
def state(self):
|
||||
|
||||
Reference in new issue
Block a user