mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 12:45:28 +02: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:
@@ -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