mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
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
@ -119,7 +119,7 @@ class SystemMonitorSensor(Entity):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def name(self):
|
def name(self):
|
||||||
return self._name
|
return self._name.rstrip()
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def state(self):
|
def state(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user