|
|
@@ -66,7 +66,7 @@ class TuyaLocalInfrared(TuyaLocalEntity, InfraredEntity):
|
|
|
_LOGGER.debug("Sending infrared command: %s", tuya_command)
|
|
|
start = s
|
|
|
await self._ir_send(tuya_command)
|
|
|
- asyncio.sleep(t / 1000000)
|
|
|
+ await asyncio.sleep(t / 1000000)
|
|
|
if start < len(raw):
|
|
|
tuya_command = IR.pulses_to_base64(raw[start:])
|
|
|
_LOGGER.debug("Sending infrared command: %s", tuya_command)
|