Browse Source

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

Jason Rumney 1 day ago
parent
commit
8285ed3bd1
1 changed files with 1 additions and 0 deletions
  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
 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