@@ -3,10 +3,10 @@
import json
import sys
-from .common_funcs import FakeDevice
-
from custom_components.tuya_local.helpers.device_config import possible_matches
+from .common_funcs import FakeDevice
+
def main() -> int:
dps = json.loads(" ".join(sys.argv[1:]))
@@ -2,10 +2,10 @@
-from .common_funcs import load_config, make_sample_dps
+from .common_funcs import load_config, make_sample_dps
def main():
for filename in sys.argv[1:]:
-from .common_funcs import FakeDevice, load_config, make_sample_dps
from custom_components.tuya_local.helpers.device_config import _typematch
+from .common_funcs import FakeDevice, load_config, make_sample_dps
rest = " ".join(sys.argv[2:])
@@ -3,13 +3,13 @@
from custom_components.tuya_local.helpers.device_config import (
TuyaDeviceConfig,
available_configs,
)
with open("custom_components/tuya_local/translations/en.json", "r") as f: