Ver Fonte

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

Jason Rumney há 1 mês atrás
pai
commit
8285ed3bd1
1 ficheiros alterados com 1 adições e 0 exclusões
  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