@camstack/addon-provider-velux 0.2.148 → 0.2.150

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/index.js CHANGED
@@ -1,19 +1,27 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_addon = require("./addon.js");
3
+ exports.KlfGatewayClient = require_addon.KlfGatewayClient;
3
4
  exports.VeluxCoverClassSchema = require_addon.VeluxCoverClassSchema;
4
5
  exports.VeluxCoverDevice = require_addon.VeluxCoverDevice;
5
6
  exports.VeluxGatewayDevice = require_addon.VeluxGatewayDevice;
6
7
  exports.VeluxIntegrationManager = require_addon.VeluxIntegrationManager;
7
8
  exports.VeluxNodeResolver = require_addon.VeluxNodeResolver;
8
9
  exports.VeluxProviderAddon = require_addon.VeluxProviderAddon;
10
+ exports.VeluxRainSensorDevice = require_addon.VeluxRainSensorDevice;
11
+ exports.VeluxWindowDevice = require_addon.VeluxWindowDevice;
9
12
  exports.buildConnectionFormSchema = require_addon.buildConnectionFormSchema;
10
- exports.buildNodeCandidates = require_addon.buildNodeCandidates;
13
+ exports.buildVeluxCandidates = require_addon.buildVeluxCandidates;
14
+ exports.connectionFromSettings = require_addon.connectionFromSettings;
11
15
  exports.defaultVeluxClientFactory = require_addon.defaultVeluxClientFactory;
16
+ exports.gatewayNativeId = require_addon.gatewayNativeId;
12
17
  exports.nodeNativeId = require_addon.nodeNativeId;
13
- exports.parseNodeNativeId = require_addon.parseNodeNativeId;
14
- exports.settingsToConnection = require_addon.settingsToConnection;
15
- exports.slugifyHost = require_addon.slugifyHost;
18
+ exports.rainNativeId = require_addon.rainNativeId;
19
+ exports.resolveNativeId = require_addon.resolveNativeId;
20
+ exports.setKlfLibraryLogSink = require_addon.setKlfLibraryLogSink;
16
21
  exports.veluxConnectionSchema = require_addon.veluxConnectionSchema;
17
22
  exports.veluxCoverSchema = require_addon.veluxCoverSchema;
18
- exports.veluxGatewaySchema = require_addon.veluxGatewaySchema;
23
+ exports.veluxGatewayDeviceSchema = require_addon.veluxGatewayDeviceSchema;
19
24
  exports.veluxGateways = require_addon.veluxGateways;
25
+ exports.veluxRainSensorSchema = require_addon.veluxRainSensorSchema;
26
+ exports.veluxWindowSchema = require_addon.veluxWindowSchema;
27
+ exports.windowCoverNativeId = require_addon.windowCoverNativeId;
package/dist/index.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import { VeluxProviderAddon, a as nodeNativeId, c as VeluxNodeResolver, d as buildConnectionFormSchema, f as settingsToConnection, g as veluxGatewaySchema, h as veluxCoverSchema, i as buildNodeCandidates, l as veluxGateways, m as veluxConnectionSchema, n as VeluxIntegrationManager, o as parseNodeNativeId, p as slugifyHost, r as defaultVeluxClientFactory, s as VeluxCoverDevice, t as VeluxGatewayDevice, u as VeluxCoverClassSchema } from "./addon.mjs";
2
- export { VeluxCoverClassSchema, VeluxCoverDevice, VeluxGatewayDevice, VeluxIntegrationManager, VeluxNodeResolver, VeluxProviderAddon, buildConnectionFormSchema, buildNodeCandidates, defaultVeluxClientFactory, nodeNativeId, parseNodeNativeId, settingsToConnection, slugifyHost, veluxConnectionSchema, veluxCoverSchema, veluxGatewaySchema, veluxGateways };
1
+ import { C as veluxRainSensorSchema, S as veluxGatewayDeviceSchema, VeluxProviderAddon, _ as VeluxCoverClassSchema, a as gatewayNativeId, b as veluxConnectionSchema, c as resolveNativeId, d as VeluxWindowDevice, f as VeluxRainSensorDevice, g as veluxGateways, h as VeluxNodeResolver, i as buildVeluxCandidates, l as windowCoverNativeId, m as VeluxCoverDevice, n as defaultVeluxClientFactory, o as nodeNativeId, p as VeluxGatewayDevice, r as KlfGatewayClient, s as rainNativeId, t as VeluxIntegrationManager, u as setKlfLibraryLogSink, v as buildConnectionFormSchema, w as veluxWindowSchema, x as veluxCoverSchema, y as connectionFromSettings } from "./addon.mjs";
2
+ export { KlfGatewayClient, VeluxCoverClassSchema, VeluxCoverDevice, VeluxGatewayDevice, VeluxIntegrationManager, VeluxNodeResolver, VeluxProviderAddon, VeluxRainSensorDevice, VeluxWindowDevice, buildConnectionFormSchema, buildVeluxCandidates, connectionFromSettings, defaultVeluxClientFactory, gatewayNativeId, nodeNativeId, rainNativeId, resolveNativeId, setKlfLibraryLogSink, veluxConnectionSchema, veluxCoverSchema, veluxGatewayDeviceSchema, veluxGateways, veluxRainSensorSchema, veluxWindowSchema, windowCoverNativeId };
package/i18n/en.json CHANGED
@@ -1,9 +1,8 @@
1
1
  {
2
- "connection.s_identity.title": "Gateway",
3
- "connection.s_identity.name.label": "Name",
4
- "connection.s_connection.title": "Connection",
2
+ "connection.s_connection.title": "KLF-200 gateway",
5
3
  "connection.s_connection.description": "The password is the WiFi/web password printed on the back of the unit.",
4
+ "connection.s_connection.__velux-discovered.label": "Gateway",
6
5
  "connection.s_connection.host.label": "Gateway host / IP",
7
- "connection.s_connection.password.label": "Password",
8
- "connection.s_connection.pollIntervalMs.label": "Poll interval (ms)"
6
+ "connection.s_connection.host.description": "Filled when one gateway is found. Type the address if it is not.",
7
+ "connection.s_connection.password.label": "Password"
9
8
  }
package/i18n/it.json CHANGED
@@ -1,9 +1,8 @@
1
1
  {
2
- "connection.s_identity.title": "Gateway",
3
- "connection.s_identity.name.label": "Nome",
4
- "connection.s_connection.title": "Connessione",
2
+ "connection.s_connection.title": "Gateway KLF-200",
5
3
  "connection.s_connection.description": "La password è quella WiFi/web stampata sul retro del dispositivo.",
4
+ "connection.s_connection.__velux-discovered.label": "Gateway",
6
5
  "connection.s_connection.host.label": "Host / IP del gateway",
7
- "connection.s_connection.password.label": "Password",
8
- "connection.s_connection.pollIntervalMs.label": "Intervallo di lettura (ms)"
6
+ "connection.s_connection.host.description": "Compilato quando viene trovato un solo gateway. Inserisci l'indirizzo se non viene trovato.",
7
+ "connection.s_connection.password.label": "Password"
9
8
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-velux",
3
- "version": "0.2.148",
4
- "description": "Velux KLF-200 device-provider addon for CamStack — local-gateway window + shutter covers (positional, no tilt)",
3
+ "version": "0.2.150",
4
+ "description": "Velux KLF-200 integration for CamStack — the gateway, local-gateway windows (with rain sensor) and shutter covers (positional, no tilt)",
5
5
  "keywords": [
6
6
  "camstack",
7
7
  "addon",
@@ -39,18 +39,24 @@
39
39
  "category": "providers",
40
40
  "name": "Velux",
41
41
  "version": "0.1.0",
42
- "description": "Adopt a Velux KLF-200 gateway over the local network and its windows / roller shutters (positional cover)",
42
+ "description": "Adopt a Velux KLF-200 gateway, its windows with rain sensor and its roller shutters, from an integration over the local network",
43
43
  "entry": "./dist/addon.js",
44
- "icon": "assets/icon.svg",
44
+ "icon": "assets/icon.png",
45
45
  "color": "#00457c",
46
46
  "instanceMode": "multiple",
47
- "mode": "standalone",
47
+ "mode": "account",
48
48
  "execution": {
49
49
  "placement": "hub-only"
50
50
  },
51
51
  "capabilities": [
52
52
  {
53
53
  "name": "device-provider"
54
+ },
55
+ {
56
+ "name": "device-adoption"
57
+ },
58
+ {
59
+ "name": "connection-test"
54
60
  }
55
61
  ]
56
62
  }
@@ -66,13 +72,13 @@
66
72
  "scripts": {
67
73
  "build": "vite build",
68
74
  "dev": "vite build --watch",
69
- "typecheck": "tsc --noEmit",
75
+ "typecheck": "tsc --noEmit -p tsconfig.spec.json",
70
76
  "test": "vitest run",
71
77
  "publish:npm": "npm publish --access public"
72
78
  },
73
79
  "devDependencies": {
74
80
  "@camstack/types": "*",
75
- "klf-200-api": "^6.0.1",
81
+ "klf-200-api": "^8.0.0",
76
82
  "typescript": "~6.0.3",
77
83
  "vite": "^8.0.11",
78
84
  "vitest": "^2.0.0",
package/assets/icon.svg DELETED
@@ -1,5 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
2
- <rect x="4" y="3" width="16" height="18" rx="1" />
3
- <line x1="4" y1="9" x2="20" y2="9" />
4
- <line x1="4" y1="14" x2="20" y2="14" />
5
- </svg>