mirror of
https://github.com/home-assistant/core.git
synced 2025-07-12 15:57:06 +00:00
parent
6cb735271f
commit
3f3955c1cd
@ -492,8 +492,7 @@ class RflinkCommand(RflinkDevice):
|
|||||||
# Rflink protocol/transport handles asynchronous writing of buffer
|
# Rflink protocol/transport handles asynchronous writing of buffer
|
||||||
# to serial/tcp device. Does not wait for command send
|
# to serial/tcp device. Does not wait for command send
|
||||||
# confirmation.
|
# confirmation.
|
||||||
self.hass.async_create_task(self._protocol.send_command(
|
self._protocol.send_command(self._device_id, cmd)
|
||||||
self._device_id, cmd))
|
|
||||||
|
|
||||||
if repetitions > 1:
|
if repetitions > 1:
|
||||||
self._repetition_task = self.hass.async_create_task(
|
self._repetition_task = self.hass.async_create_task(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user