From 3f3955c1cdc4f514f28f797938d7f18e5d4a6c49 Mon Sep 17 00:00:00 2001 From: emontnemery Date: Sun, 28 Oct 2018 13:57:44 +0100 Subject: [PATCH] Fix RFLink issue #17875 (#17889) --- homeassistant/components/rflink.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/homeassistant/components/rflink.py b/homeassistant/components/rflink.py index 3bb3bb7044b..b3c58da1076 100644 --- a/homeassistant/components/rflink.py +++ b/homeassistant/components/rflink.py @@ -492,8 +492,7 @@ class RflinkCommand(RflinkDevice): # Rflink protocol/transport handles asynchronous writing of buffer # to serial/tcp device. Does not wait for command send # confirmation. - self.hass.async_create_task(self._protocol.send_command( - self._device_id, cmd)) + self._protocol.send_command(self._device_id, cmd) if repetitions > 1: self._repetition_task = self.hass.async_create_task(