Browse Source

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

Jason Rumney 7 tháng trước cách đây
mục cha
commit
8285ed3bd1

+ 1 - 0
custom_components/tuya_local/infrared.py

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