From 0afb6114c52bc011777b7904f7ea445f040a47a7 Mon Sep 17 00:00:00 2001 From: Jeff Schroeder Date: Mon, 14 Sep 2015 21:19:13 -0500 Subject: [PATCH] Make the entity names for systemmonitor sensors a bit nicer This prevents them from having trailing whitespace, which makes them end with `_`. --- homeassistant/components/sensor/systemmonitor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/sensor/systemmonitor.py b/homeassistant/components/sensor/systemmonitor.py index 71a6462f114..82f62da10e0 100644 --- a/homeassistant/components/sensor/systemmonitor.py +++ b/homeassistant/components/sensor/systemmonitor.py @@ -119,7 +119,7 @@ class SystemMonitorSensor(Entity): @property def name(self): - return self._name + return self._name.rstrip() @property def state(self):