瀏覽代碼

fix (infrared): import asyncio to use it for sleep

Jason Rumney 7 月之前
父節點
當前提交
8285ed3bd1
共有 1 個文件被更改,包括 1 次插入 和 0 次删除
  1. 1 0
      custom_components/tuya_local/infrared.py

+ 1 - 0
custom_components/tuya_local/infrared.py

@@ -2,6 +2,7 @@
 Implementation of Tuya infrared control devices
 """
 
+import asyncio
 import logging
 
 from homeassistant.components.infrared import InfraredCommand, InfraredEntity