فهرست منبع

Add YAML schema for device configuration (#4779)

JxxIT 4 هفته پیش
والد
کامیت
72c5d682a9
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  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"
+  }
 }