Skip to content

Commit

Permalink
Merge 1.1.x into master.
Browse files Browse the repository at this point in the history
  • Loading branch information
sbozarth committed Nov 15, 2020
2 parents f25065c + 40fb81e commit 9c27a33
Show file tree
Hide file tree
Showing 12 changed files with 804 additions and 702 deletions.
8 changes: 8 additions & 0 deletions config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@
"minlength": 1,
"required": true
},
"lc7001-password": {
"title": "Password",
"type": "string",
"default": "",
"description": "Password assigned to LC7001 via the Legrand Lighting Control app. (Pre-2020 configurations may not have a password.)",
"required": false
},
"lc7001-hostname": {
"title": "Hostname",
"type": "string",
Expand Down Expand Up @@ -112,6 +119,7 @@
},
"form": [
"name",
"lc7001-password",
"lc7001-hostname",
{
"key": "lc7001-port",
Expand Down
5 changes: 4 additions & 1 deletion lib/lc7001.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ export declare class LC7001 {
private interface;
private readonly tcpOptions;
private _commandID;
private passwordHash;
private isAuthenticated;
private readonly delimiter;
private tcpBuffer;
private commandQueue;
Expand Down Expand Up @@ -55,7 +57,8 @@ export declare class LC7001 {
private lastPingSeq;
private lastPingTime;
private lastSysPropTime;
constructor(platform: PlatformLC7001, tcpOptions: TcpSocketConnectOpts, delimiter?: string);
constructor(platform: PlatformLC7001, password: string | undefined, tcpOptions: TcpSocketConnectOpts, delimiter?: string);
private answerChallenge;
private checkInitialized;
private get commandID();
private cmdGetAccessory;
Expand Down
2 changes: 1 addition & 1 deletion lib/lc7001.d.ts.map

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

144 changes: 91 additions & 53 deletions lib/lc7001.js

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

2 changes: 1 addition & 1 deletion lib/lc7001.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions lib/platform.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export declare class PlatformLC7001 implements DynamicPlatformPlugin {
readonly logEliotErrors: boolean;
private readonly useOldUUID;
private lc7001;
private readonly password;
private readonly tcpOptions;
private readonly jsonDelimiter;
constructor(log: Logger, config: PlatformConfig, api: API);
Expand Down
Loading

0 comments on commit 9c27a33

Please sign in to comment.