From 611b0bebbf5a9b244316949cb55de42122762d00 Mon Sep 17 00:00:00 2001 From: pvizeli Date: Wed, 29 Mar 2017 12:26:04 +0200 Subject: [PATCH] Fix socket handling --- 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 c3bc31dd0..3761ef4cc 100644 --- a/hassio_api/hassio/host_controll.py +++ b/hassio_api/hassio/host_controll.py @@ -29,7 +29,7 @@ class HostControll(object): if not self.active: return - reader, writer = await self.loop.create_unix_connection(SOCKET_HC) + reader, writer = await self.loop.open_unix_connection(SOCKET_HC) # send _LOGGER.info("Send '%s' to HostControll.", command)