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