Fix harmony unnecessary whitespace stripping (#34071)

pull/34065/head
Dustin Wyatt 2020-04-12 07:40:05 -05:00 committed by GitHub
parent 1e8281fb06
commit 4f519a2fe1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)