From efd1de2fc200ebaf93db2bd123ed98c91489548e Mon Sep 17 00:00:00 2001 From: pvizeli Date: Wed, 29 Mar 2017 16:03:32 +0200 Subject: [PATCH] Fix convert bug --- hassio_api/hassio/host_controll.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hassio_api/hassio/host_controll.py b/hassio_api/hassio/host_controll.py index e9c4cc5ff..1e2f4d558 100644 --- a/hassio_api/hassio/host_controll.py +++ b/hassio_api/hassio/host_controll.py @@ -45,7 +45,7 @@ class HostControll(object): writer.write("{}\n".format(command).encode()) data = await reader.readline() - response = data.decode().Upper() + response = data.decode().upper() _LOGGER.info("Receive from HostControll: %s.", response) if response == "OK":