mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Fix harmony unnecessary whitespace stripping (#34071)
This commit is contained in:
parent
1e8281fb06
commit
4f519a2fe1
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user