diff --git a/package-lock.json b/package-lock.json index 857ed6925f..cc9d871099 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "vscode-home-assistant", - "version": "1.41.0", + "version": "1.41.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "vscode-home-assistant", - "version": "1.41.0", + "version": "1.41.1", "license": "MIT", "dependencies": { "axios": "^1.6.8", diff --git a/package.json b/package.json index acbcd2c512..aff25f1ab4 100644 --- a/package.json +++ b/package.json @@ -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.41.0", + "version": "1.41.1", "preview": false, "engines": { "vscode": "^1.45.1" diff --git a/src/language-service/package-lock.json b/src/language-service/package-lock.json index 95c7b6795a..2bdcb5825b 100644 --- a/src/language-service/package-lock.json +++ b/src/language-service/package-lock.json @@ -1,12 +1,12 @@ { "name": "home-assistant-language-service", - "version": "1.41.0", + "version": "1.41.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "home-assistant-language-service", - "version": "1.41.0", + "version": "1.41.1", "license": "MIT", "dependencies": { "axios": "^1.2.1", diff --git a/src/language-service/package.json b/src/language-service/package.json index 8490dbdb47..96db8c02b4 100644 --- a/src/language-service/package.json +++ b/src/language-service/package.json @@ -1,6 +1,6 @@ { "name": "home-assistant-language-service", - "version": "1.41.0", + "version": "1.41.1", "description": "Home Assistant Language Service", "source": "src/haLanguageService.ts", "main": "dist/haLanguageService.js", diff --git a/src/language-service/src/schemas/integrations/core/automation.ts b/src/language-service/src/schemas/integrations/core/automation.ts index 5fe57bebd0..a158f224ec 100644 --- a/src/language-service/src/schemas/integrations/core/automation.ts +++ b/src/language-service/src/schemas/integrations/core/automation.ts @@ -112,13 +112,13 @@ export interface AutomationItem extends BaseItem { * Triggers describe events that should trigger the automation rule. * https://www.home-assistant.io/docs/automation/basics/ */ - trigger: Trigger | Trigger[] | IncludeList; + trigger?: Trigger | Trigger[] | IncludeList; /** * Triggers describe events that should trigger the automation rule. * https://www.home-assistant.io/docs/automation/basics/ */ - triggers: Trigger | Trigger[] | IncludeList; + triggers?: Trigger | Trigger[] | IncludeList; /** * Available in trigger templates with the difference that only limited templates can be used to pass a value to the trigger variable. @@ -130,13 +130,13 @@ export interface AutomationItem extends BaseItem { * The action(s) which will be performed when a rule is triggered and all conditions are met. For example, it can turn a light on, set the temperature on your thermostat or activate a scene. * https://www.home-assistant.io/docs/automation/basics/ */ - action: Action | Action[] | IncludeList; + action?: Action | Action[] | IncludeList; /** * The action(s) which will be performed when a rule is triggered and all conditions are met. For example, it can turn a light on, set the temperature on your thermostat or activate a scene. * https://www.home-assistant.io/docs/automation/basics/ */ - actions: Action | Action[] | IncludeList; + actions?: Action | Action[] | IncludeList; } interface BlueprintItem extends BaseItem {