mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 13:45:12 +02:00
Fix harmony unnecessary whitespace stripping (#34071)
This commit is contained in:
@@ -331,7 +331,7 @@ class HarmonyRemote(remote.RemoteDevice):
|
|||||||
|
|
||||||
if activity_id is None:
|
if activity_id is None:
|
||||||
_LOGGER.debug("%s: Find activity ID based on name", self.name)
|
_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:
|
if activity_id is None:
|
||||||
_LOGGER.error("%s: Activity %s is invalid", self.name, activity)
|
_LOGGER.error("%s: Activity %s is invalid", self.name, activity)
|
||||||
|
Reference in New Issue
Block a user