@digital-alchemy/hass 25.11.27 → 26.6.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/dev/services.d.mts
CHANGED
|
@@ -907,7 +907,7 @@ declare module "../user.mts" {
|
|
|
907
907
|
* > max: 6500
|
|
908
908
|
* > ```
|
|
909
909
|
*/
|
|
910
|
-
|
|
910
|
+
color_temp_kelvin?: number;
|
|
911
911
|
/**
|
|
912
912
|
* ## Profile
|
|
913
913
|
*
|
|
@@ -1169,7 +1169,7 @@ declare module "../user.mts" {
|
|
|
1169
1169
|
* > max: 6500
|
|
1170
1170
|
* > ```
|
|
1171
1171
|
*/
|
|
1172
|
-
|
|
1172
|
+
color_temp_kelvin?: number;
|
|
1173
1173
|
/**
|
|
1174
1174
|
* ## Profile
|
|
1175
1175
|
*
|
|
@@ -12,15 +12,15 @@ export declare function HassDiagnosticsService({ config, logger }: TServiceParam
|
|
|
12
12
|
websocket?: undefined;
|
|
13
13
|
zone?: undefined;
|
|
14
14
|
} | {
|
|
15
|
-
area: Record<"registry_update", import("diagnostics_channel").Channel<unknown, unknown>>;
|
|
16
|
-
call: Record<"reload" | "fast" | "response", import("diagnostics_channel").Channel<unknown, unknown>>;
|
|
17
|
-
config: Record<"service_list_updated" | "load_services_failure", import("diagnostics_channel").Channel<unknown, unknown>>;
|
|
18
|
-
device: Record<"registry_update", import("diagnostics_channel").Channel<unknown, unknown>>;
|
|
19
|
-
entity: Record<"warn_ready" | "history_lookup" | "refresh_entities" | "entity_updated" | "registry_updated" | "entity_remove" | "entity_add", import("diagnostics_channel").Channel<unknown, unknown>>;
|
|
20
|
-
fetch: Record<"fetch", import("diagnostics_channel").Channel<unknown, unknown>>;
|
|
21
|
-
floor: Record<"registry_update", import("diagnostics_channel").Channel<unknown, unknown>>;
|
|
22
|
-
label: Record<"registry_update", import("diagnostics_channel").Channel<unknown, unknown>>;
|
|
23
|
-
reference: Record<"create_proxy" | "get_property" | "call_service", import("diagnostics_channel").Channel<unknown, unknown>>;
|
|
24
|
-
websocket: Record<"fire_event" | "message_received" | "missed_reply" | "send_message" | "failed_ping" | "send_ping" | "set_connection_state", import("diagnostics_channel").Channel<unknown, unknown>>;
|
|
25
|
-
zone: Record<"registry_update", import("diagnostics_channel").Channel<unknown, unknown>>;
|
|
15
|
+
area: Record<"registry_update", import("node:diagnostics_channel").Channel<unknown, unknown>>;
|
|
16
|
+
call: Record<"reload" | "fast" | "response", import("node:diagnostics_channel").Channel<unknown, unknown>>;
|
|
17
|
+
config: Record<"service_list_updated" | "load_services_failure", import("node:diagnostics_channel").Channel<unknown, unknown>>;
|
|
18
|
+
device: Record<"registry_update", import("node:diagnostics_channel").Channel<unknown, unknown>>;
|
|
19
|
+
entity: Record<"warn_ready" | "history_lookup" | "refresh_entities" | "entity_updated" | "registry_updated" | "entity_remove" | "entity_add", import("node:diagnostics_channel").Channel<unknown, unknown>>;
|
|
20
|
+
fetch: Record<"fetch", import("node:diagnostics_channel").Channel<unknown, unknown>>;
|
|
21
|
+
floor: Record<"registry_update", import("node:diagnostics_channel").Channel<unknown, unknown>>;
|
|
22
|
+
label: Record<"registry_update", import("node:diagnostics_channel").Channel<unknown, unknown>>;
|
|
23
|
+
reference: Record<"create_proxy" | "get_property" | "call_service", import("node:diagnostics_channel").Channel<unknown, unknown>>;
|
|
24
|
+
websocket: Record<"fire_event" | "message_received" | "missed_reply" | "send_message" | "failed_ping" | "send_ping" | "set_connection_state", import("node:diagnostics_channel").Channel<unknown, unknown>>;
|
|
25
|
+
zone: Record<"registry_update", import("node:diagnostics_channel").Channel<unknown, unknown>>;
|
|
26
26
|
};
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"name": "@digital-alchemy/hass",
|
|
4
4
|
"repository": "https://github.com/Digital-Alchemy-TS/hass",
|
|
5
5
|
"homepage": "https://docs.digital-alchemy.app",
|
|
6
|
-
"version": "
|
|
6
|
+
"version": "26.6.13",
|
|
7
7
|
"description": "Typescript APIs for Home Assistant. Includes rest & websocket bindings",
|
|
8
8
|
"scripts": {
|
|
9
9
|
"build": "rm -rf dist/; tsc",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"test": "vitest",
|
|
12
12
|
"test:coverage": "vitest run --coverage",
|
|
13
13
|
"prepublishOnly": "tsc --project ./tsconfig.lib.json",
|
|
14
|
-
"upgrade": "yarn
|
|
14
|
+
"upgrade": "ncu --upgrade && truncate -s 0 yarn.lock && yarn install"
|
|
15
15
|
},
|
|
16
16
|
"bugs": {
|
|
17
17
|
"email": "bugs@digital-alchemy.app",
|
|
@@ -58,54 +58,55 @@
|
|
|
58
58
|
},
|
|
59
59
|
"license": "MIT",
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@cspell/eslint-plugin": "^
|
|
62
|
-
"@digital-alchemy/core": "^
|
|
63
|
-
"@digital-alchemy/synapse": "^
|
|
64
|
-
"@digital-alchemy/type-writer": "^
|
|
65
|
-
"@eslint/compat": "^2.
|
|
66
|
-
"@eslint/eslintrc": "^3.3.
|
|
67
|
-
"@eslint/js": "^
|
|
68
|
-
"@faker-js/faker": "^10.
|
|
61
|
+
"@cspell/eslint-plugin": "^10.0.1",
|
|
62
|
+
"@digital-alchemy/core": "^26.5.30",
|
|
63
|
+
"@digital-alchemy/synapse": "^26.2.6",
|
|
64
|
+
"@digital-alchemy/type-writer": "^26.2.12",
|
|
65
|
+
"@eslint/compat": "^2.1.0",
|
|
66
|
+
"@eslint/eslintrc": "^3.3.5",
|
|
67
|
+
"@eslint/js": "^10.0.1",
|
|
68
|
+
"@faker-js/faker": "^10.4.0",
|
|
69
69
|
"@types/js-yaml": "^4.0.9",
|
|
70
|
-
"@types/node": "^
|
|
70
|
+
"@types/node": "^25.9.3",
|
|
71
71
|
"@types/node-cron": "^3.0.11",
|
|
72
72
|
"@types/semver": "^7.7.1",
|
|
73
73
|
"@types/ws": "^8.18.1",
|
|
74
|
-
"@typescript-eslint/eslint-plugin": "8.
|
|
75
|
-
"@typescript-eslint/parser": "8.
|
|
76
|
-
"@vitest/coverage-v8": "^4.
|
|
77
|
-
"@vitest/ui": "4.
|
|
78
|
-
"dayjs": "^1.11.
|
|
79
|
-
"dotenv": "^17.2
|
|
80
|
-
"eslint": "
|
|
74
|
+
"@typescript-eslint/eslint-plugin": "8.61.0",
|
|
75
|
+
"@typescript-eslint/parser": "8.61.0",
|
|
76
|
+
"@vitest/coverage-v8": "^4.1.8",
|
|
77
|
+
"@vitest/ui": "4.1.8",
|
|
78
|
+
"dayjs": "^1.11.21",
|
|
79
|
+
"dotenv": "^17.4.2",
|
|
80
|
+
"eslint": "10.5.0",
|
|
81
81
|
"eslint-config-prettier": "10.1.8",
|
|
82
82
|
"eslint-plugin-import": "^2.32.0",
|
|
83
|
-
"eslint-plugin-jsonc": "^2.
|
|
84
|
-
"eslint-plugin-no-unsanitized": "^4.1.
|
|
85
|
-
"eslint-plugin-prettier": "^5.5.
|
|
86
|
-
"eslint-plugin-security": "^
|
|
87
|
-
"eslint-plugin-simple-import-sort": "^
|
|
88
|
-
"eslint-plugin-sonarjs": "^
|
|
83
|
+
"eslint-plugin-jsonc": "^3.2.0",
|
|
84
|
+
"eslint-plugin-no-unsanitized": "^4.1.5",
|
|
85
|
+
"eslint-plugin-prettier": "^5.5.6",
|
|
86
|
+
"eslint-plugin-security": "^4.0.1",
|
|
87
|
+
"eslint-plugin-simple-import-sort": "^13.0.0",
|
|
88
|
+
"eslint-plugin-sonarjs": "^4.0.3",
|
|
89
89
|
"eslint-plugin-sort-keys-fix": "^1.1.2",
|
|
90
|
-
"eslint-plugin-unicorn": "^
|
|
90
|
+
"eslint-plugin-unicorn": "^65.0.1",
|
|
91
91
|
"node-cron": "^4.2.1",
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
"
|
|
92
|
+
"npm-check-updates": "^22.2.3",
|
|
93
|
+
"prettier": "^3.8.4",
|
|
94
|
+
"semver": "^7.8.4",
|
|
95
|
+
"tsx": "^4.22.4",
|
|
96
|
+
"typescript": "^6.0.3",
|
|
97
|
+
"uuid": "^14.0.0",
|
|
98
|
+
"vitest": "^4.1.8",
|
|
99
|
+
"ws": "^8.21.0"
|
|
99
100
|
},
|
|
100
101
|
"peerDependencies": {
|
|
101
102
|
"@digital-alchemy/core": "*"
|
|
102
103
|
},
|
|
103
104
|
"dependencies": {
|
|
104
|
-
"dayjs": "^1.11.
|
|
105
|
-
"semver": "^7.
|
|
106
|
-
"type-fest": "^5.
|
|
107
|
-
"uuid": "^
|
|
108
|
-
"ws": "^8.
|
|
105
|
+
"dayjs": "^1.11.21",
|
|
106
|
+
"semver": "^7.8.4",
|
|
107
|
+
"type-fest": "^5.7.0",
|
|
108
|
+
"uuid": "^14.0.0",
|
|
109
|
+
"ws": "^8.21.0"
|
|
109
110
|
},
|
|
110
111
|
"packageManager": "yarn@4.11.0"
|
|
111
112
|
}
|
package/src/dev/services.mts
CHANGED
|
@@ -1072,7 +1072,7 @@ declare module "../user.mts" {
|
|
|
1072
1072
|
* > max: 6500
|
|
1073
1073
|
* > ```
|
|
1074
1074
|
*/
|
|
1075
|
-
|
|
1075
|
+
color_temp_kelvin?: number;
|
|
1076
1076
|
/**
|
|
1077
1077
|
* ## Profile
|
|
1078
1078
|
*
|
|
@@ -1482,7 +1482,7 @@ declare module "../user.mts" {
|
|
|
1482
1482
|
* > max: 6500
|
|
1483
1483
|
* > ```
|
|
1484
1484
|
*/
|
|
1485
|
-
|
|
1485
|
+
color_temp_kelvin?: number;
|
|
1486
1486
|
/**
|
|
1487
1487
|
* ## Profile
|
|
1488
1488
|
*
|