From 4f519a2fe1f94372cfdddcd612bd61b42fe328a7 Mon Sep 17 00:00:00 2001 From: Dustin Wyatt Date: Sun, 12 Apr 2020 07:40:05 -0500 Subject: [PATCH] Fix harmony unnecessary whitespace stripping (#34071) --- homeassistant/components/harmony/remote.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/harmony/remote.py b/homeassistant/components/harmony/remote.py index 45a8f879c0f..11e7af76253 100644 --- a/homeassistant/components/harmony/remote.py +++ b/homeassistant/components/harmony/remote.py @@ -331,7 +331,7 @@ class HarmonyRemote(remote.RemoteDevice): if activity_id is None: _LOGGER.debug("%s: Find activity ID based on name", self.name) - activity_id = self._client.get_activity_id(str(activity).strip()) + activity_id = self._client.get_activity_id(str(activity)) if activity_id is None: _LOGGER.error("%s: Activity %s is invalid", self.name, activity)