Przeglądaj źródła

Add YAML schema for device configuration (#4779)

JxxIT 3 tygodni temu
rodzic
commit
72c5d682a9
1 zmienionych plików z 3 dodań i 0 usunięć
  1. 3 0
      .vscode/settings.json

+ 3 - 0
.vscode/settings.json

@@ -12,4 +12,7 @@
   "python.testing.pytestEnabled": true,
   "pylint.importStrategy": "fromEnvironment",
   "python.linting.lintOnSave": true,
+  "yaml.schemas": {
+    "./custom_components/tuya_local/devices/device_config_schema.json": "/devices/*.yaml"
+  }
 }