Просмотр исходного кода

Add YAML schema for device configuration (#4779)

JxxIT 1 день назад
Родитель
Сommit
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"
+  }
 }