Skip to content

Commit

Permalink
Merge pull request #1838 from keesschollaart81/dev
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck authored Jan 7, 2022
2 parents 4677e88 + 06d8922 commit a033011
Show file tree
Hide file tree
Showing 25 changed files with 808 additions and 1,279 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/github-actions-language-service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: actions/[email protected]

- name: 🏗 Set up NodeJS
uses: actions/setup-node@v2.4.1
uses: actions/setup-node@v2.5.1
with:
node-version: "14"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/github-actions-vscode-extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
uses: actions/[email protected]

- name: 🏗 Set up NodeJS
uses: actions/setup-node@v2.4.1
uses: actions/setup-node@v2.5.1
with:
node-version: "14"

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ Evaluate jinja templates via Home Assistant's API and see how they would render.

# Contribution

- [How to update the schemas](https://github.com/keesschollaart81/vscode-home-assistant/wiki/HowTo:-Update-the-schemas)
- [Local Development](https://github.com/keesschollaart81/vscode-home-assistant/wiki/Local-development)
- [How to update the schemas](https://github.com/keesschollaart81/vscode-home-assistant/wiki/HowTo:-Update-the-schema's)
- [Local Development](https://github.com/keesschollaart81/vscode-home-assistant/wiki/Local-development-of-this-Extension)

# Release Notes

Expand Down
1,390 changes: 288 additions & 1,102 deletions package-lock.json

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vscode-home-assistant",
"displayName": "Home Assistant Config Helper",
"description": " Completion for entity-id's in Home Assistant Configurations",
"version": "1.22.0",
"version": "1.23.0",
"preview": false,
"engines": {
"vscode": "^1.45.1"
Expand Down Expand Up @@ -319,44 +319,44 @@
"devDependencies": {
"@types/mocha": "9.0.0",
"@types/node": "16.4.10",
"@types/request": "2.48.7",
"@types/request": "2.48.8",
"@types/vscode": "1.45.1",
"@types/ws": "8.2.0",
"@types/ws": "8.2.2",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"babel-eslint": "^10.1.0",
"eslint": "^7.32.0",
"eslint-config-airbnb-typescript": "^12.3.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-flowtype": "^7.0.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.27.0",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "4.3.0",
"eslint-plugin-wc": "^1.3.2",
"husky": "^7.0.4",
"lint-staged": "^11.2.6",
"prettier": "^2.4.1",
"lint-staged": "^12.1.5",
"prettier": "^2.5.1",
"rimraf": "3.0.2",
"ts-loader": "^8.0.10",
"ts-node": "10.4.0",
"typescript": "^4.4.4",
"typescript": "^4.5.4",
"typescript-json-schema": "0.51.0"
},
"dependencies": {
"axios": "^0.24.0",
"bufferutil": "^4.0.5",
"home-assistant-js-websocket": "^5.11.2",
"utf-8-validate": "^5.0.7",
"vscode-extension-telemetry": "0.4.3",
"bufferutil": "^4.0.6",
"home-assistant-js-websocket": "^6.0.1",
"utf-8-validate": "^5.0.8",
"vscode-extension-telemetry": "0.4.4",
"vscode-json-languageservice": "^3.9.1",
"vscode-languageclient": "6.1.3",
"vscode-languageserver": "6.1.1",
"vscode-languageserver-protocol": "3.15.3",
"vscode-languageserver-textdocument": "^1.0.2",
"vscode-uri": "3.0.2",
"ws": "8.2.3",
"vscode-uri": "3.0.3",
"ws": "8.4.0",
"yaml": "1.10.2",
"yaml-language-server": "0.12.0"
}
Expand Down
98 changes: 47 additions & 51 deletions src/language-service/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions src/language-service/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "home-assistant-language-service",
"version": "1.22.0",
"version": "1.23.0",
"description": "Home Assistant Language Service",
"source": "src/haLanguageService.ts",
"main": "dist/haLanguageService.js",
Expand Down Expand Up @@ -39,9 +39,9 @@
},
"devDependencies": {
"@types/mocha": "9.0.0",
"@types/node": "16.11.7",
"@types/node": "17.0.8",
"@types/vscode": "1.48.0",
"@types/ws": "8.2.0",
"@types/ws": "8.2.2",
"@types/yaml": "1.9.7",
"@typescript-eslint/eslint-plugin": "^4.16.1",
"@typescript-eslint/parser": "^4.16.1",
Expand All @@ -60,17 +60,17 @@
"rimraf": "3.0.2",
"ts-loader": "^8.0.0",
"ts-node": "10.4.0",
"typescript": "4.4.4",
"typescript": "4.5.4",
"typescript-json-schema": "0.51.0",
"vscode-test": "^1.4.0"
},
"dependencies": {
"axios": "^0.24.0",
"home-assistant-js-websocket": "^5.7.0",
"home-assistant-js-websocket": "^6.0.0",
"vscode-json-languageservice": "3.9.1",
"vscode-languageserver-protocol": "3.15.3",
"vscode-uri": "3.0.2",
"ws": "8.2.3",
"vscode-uri": "3.0.3",
"ws": "8.4.0",
"yaml": "1.10.2",
"yaml-language-server": "0.12.0"
},
Expand Down
24 changes: 24 additions & 0 deletions src/language-service/src/schemas/configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,36 @@ export interface InternalIntegrations {
*/
input_boolean?: integrations.Core.InputBoolean.Schema | IncludeNamed | null;

/**
* The Input Button helper integration allows you to define buttons that can be pressed via the user interface, and can be used to trigger things, like an automation.
* https://www.home-assistant.io/integrations/input_button
*/
input_button?: integrations.Core.InputButton.Schema | IncludeNamed | null;

/**
* The input_datetime integration allows the user to define date and time values that can be controlled via the frontend and can be used within automations and templates.
* https://www.home-assistant.io/integrations/input_datetime
*/
input_datetime?: integrations.Core.InputDatetime.Schema | IncludeNamed | null;

/**
* The input_number integration allows the user to define values that can be controlled via the frontend and can be used within conditions of automation. The frontend can display a slider, or a numeric input box.
* https://www.home-assistant.io/integrations/input_number
*/
input_number?: integrations.Core.InputNumber.Schema | IncludeNamed | null;

/**
* The input_select integration allows the user to define a list of values that can be selected via the frontend and can be used within conditions of an automation.
* https://www.home-assistant.io/integrations/input_select
*/
input_select?: integrations.Core.InputSelect.Schema | IncludeNamed | null;

/**
* The input_text integration allows the user to define values that can be controlled via the frontend and can be used within conditions of automation.
* https://www.home-assistant.io/integrations/input_text
*/
input_text?: integrations.Core.InputText.Schema | IncludeNamed | null;

/**
* This integration allows you to track and control various light bulbs.
* https://www.home-assistant.io/integrations/light
Expand Down
Loading

0 comments on commit a033011

Please sign in to comment.