From 33a66bee01e1cfc8b828349e310cd5ae60a3e48c Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Tue, 2 May 2017 23:35:31 +0200 Subject: [PATCH] Fix wrong parser --- hassio/host_control.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hassio/host_control.py b/hassio/host_control.py index bceb7f74a..845742f27 100644 --- a/hassio/host_control.py +++ b/hassio/host_control.py @@ -57,7 +57,7 @@ class HostControl(object): writer.write("{}\n".format(command).encode()) data = await reader.readline() - response = data.decode() + response = data.decode().rstrip() _LOGGER.info("Receive from HostControl: %s.", response) if response == "OK":