Skip to content

Commit

Permalink
Merge pull request #3193 from keesschollaart81/dev
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck authored Oct 1, 2024
2 parents 4b6448c + cf6db79 commit ec1a0b5
Show file tree
Hide file tree
Showing 8 changed files with 30 additions and 31 deletions.
18 changes: 9 additions & 9 deletions package-lock.json

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

4 changes: 2 additions & 2 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.41.2",
"version": "1.41.3",
"preview": false,
"engines": {
"vscode": "^1.45.1"
Expand Down Expand Up @@ -445,7 +445,7 @@
"typescript-json-schema": "0.62.0"
},
"dependencies": {
"axios": "^1.7.4",
"axios": "^1.7.7",
"bufferutil": "^4.0.8",
"home-assistant-js-websocket": "^9.1.0",
"utf-8-validate": "^6.0.3",
Expand Down
28 changes: 14 additions & 14 deletions src/language-service/package-lock.json

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

2 changes: 1 addition & 1 deletion 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.41.2",
"version": "1.41.3",
"description": "Home Assistant Language Service",
"source": "src/haLanguageService.ts",
"main": "dist/haLanguageService.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export interface AutomationItem extends BaseItem {
interface BlueprintItem extends BaseItem {
use_blueprint: {
path: string;
input: { [key: string]: any };
input?: { [key: string]: any };
};

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import {
IncludeNamed,
Integer,
LanguageTags,
TemperatureUnit,
TimeZone,
UnitSystem,
} from "../../types";
Expand Down Expand Up @@ -144,7 +143,7 @@ export interface Schema {
* "C" for Celsius, "F" for Fahrenheit.
* https://www.home-assistant.io/docs/configuration/basic/#temperature_unit
*/
temperature_unit?: TemperatureUnit;
temperature_unit?: "C" | "F";
}

interface CoreCustomize {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export interface ScriptItem extends BaseItem {
interface BlueprintItem extends BaseItem {
use_blueprint: {
path: string;
input: { [key: string]: any };
input?: { [key: string]: any };
};

/**
Expand Down
2 changes: 1 addition & 1 deletion src/language-service/src/schemas/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1530,7 +1530,7 @@ export type TimeZone =
| "Zulu";

export type UnitSystem = "metric" | "imperial";
export type TemperatureUnit = "C" | "F";
export type TemperatureUnit = "°C" | "°F" | "K";
export type PressureUnit =
| "Pa"
| "hPa"
Expand Down

0 comments on commit ec1a0b5

Please sign in to comment.