homebridge-myleviton 3.0.3 → 3.0.5

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/README.md CHANGED
@@ -1,11 +1,11 @@
1
1
  # homebridge-myleviton
2
2
 
3
3
  [![Tests](https://github.com/tbaur/homebridge-myleviton/actions/workflows/test.yml/badge.svg)](https://github.com/tbaur/homebridge-myleviton/actions/workflows/test.yml)
4
- [![npm version](https://badgen.net/npm/v/homebridge-myleviton)](https://www.npmjs.com/package/homebridge-myleviton)
5
- [![npm downloads](https://badgen.net/npm/dt/homebridge-myleviton)](https://www.npmjs.com/package/homebridge-myleviton)
6
- [![Node.js](https://badgen.net/badge/node/%3E=20/green)](https://nodejs.org)
7
- [![Homebridge](https://badgen.net/badge/homebridge/%3E=1.6.0/purple)](https://homebridge.io)
8
- [![License: Apache-2.0](https://badgen.net/badge/license/Apache-2.0/blue)](LICENSE)
4
+ [![npm version](https://img.shields.io/npm/v/homebridge-myleviton?style=flat-square)](https://www.npmjs.com/package/homebridge-myleviton)
5
+ [![npm downloads](https://img.shields.io/npm/dt/homebridge-myleviton?style=flat-square)](https://www.npmjs.com/package/homebridge-myleviton)
6
+ [![Node.js](https://img.shields.io/badge/node-%3E%3D20-green)](https://nodejs.org)
7
+ [![Homebridge](https://img.shields.io/badge/homebridge-%3E%3D1.6.0-purple)](https://homebridge.io)
8
+ [![License](https://img.shields.io/badge/license-Apache--2.0-blue)](LICENSE)
9
9
 
10
10
  Control your **My Leviton Decora Smart** WiFi devices through Apple HomeKit using Homebridge.
11
11
 
@@ -85,7 +85,6 @@ Your devices will appear in the Home app automatically.
85
85
  | `pollInterval` | | Seconds between state updates (default: 30) |
86
86
  | `excludedModels` | | Device models to skip, e.g. `["DW15P"]` |
87
87
  | `excludedSerials` | | Device serials to skip |
88
- | `structuredLogs` | | Enable JSON structured logging (default: false) |
89
88
 
90
89
  ## Not Working?
91
90
 
@@ -6,11 +6,17 @@
6
6
  "footerDisplay": "---\n\n**Need Help?** Check out the [GitHub Repository](https://github.com/tbaur/homebridge-myleviton) for documentation, troubleshooting guides, and to report issues.",
7
7
  "schema": {
8
8
  "type": "object",
9
+ "required": ["name", "email", "password"],
9
10
  "properties": {
11
+ "name": {
12
+ "title": "Name",
13
+ "type": "string",
14
+ "default": "My Leviton",
15
+ "description": "A name for this plugin instance (shown in Homebridge logs)"
16
+ },
10
17
  "email": {
11
- "title": "Username ",
18
+ "title": "Username",
12
19
  "type": "string",
13
- "required": true,
14
20
  "format": "email",
15
21
  "placeholder": "you@example.com",
16
22
  "description": "The email address you use to sign in to the My Leviton app",
@@ -19,9 +25,8 @@
19
25
  }
20
26
  },
21
27
  "password": {
22
- "title": "Password ",
28
+ "title": "Password",
23
29
  "type": "string",
24
- "required": true,
25
30
  "placeholder": "••••••••••••",
26
31
  "description": "Your My Leviton account password (stored securely in your Homebridge config)",
27
32
  "x-schema-form": {
@@ -93,6 +98,7 @@
93
98
  "expandable": true,
94
99
  "expanded": true,
95
100
  "items": [
101
+ "name",
96
102
  "loglevel",
97
103
  "pollInterval"
98
104
  ]
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "homebridge-myleviton",
3
- "version": "3.0.3",
3
+ "displayName": "Homebridge My Leviton",
4
+ "version": "3.0.5",
4
5
  "description": "A homebridge plugin for My Leviton Decora Smart devices",
5
6
  "main": "dist/index.js",
6
7
  "types": "dist/index.d.ts",