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:
parent
bf64956265
commit
0afb6114c5
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ class SystemMonitorSensor(Entity):
|
|||
|
||||
@property
|
||||
def name(self):
|
||||
return self._name
|
||||
return self._name.rstrip()
|
||||
|
||||
@property
|
||||
def state(self):
|
||||
|
|
Loading…
Add table
Reference in a new issue