homebridge-homeassistant-garagedoor 1.0.9 → 1.0.10

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.
Files changed (2) hide show
  1. package/config.schema.json +40 -36
  2. package/package.json +1 -1
@@ -1,39 +1,43 @@
1
1
  {
2
- "name": {
3
- "title": "Name",
4
- "type": "string",
5
- "required": true,
6
- "default": "Garage Door",
7
- "order": 1
8
- },
9
- "haUrl": {
10
- "title": "Home Assistant URL",
11
- "type": "string",
12
- "required": true,
13
- "placeholder": "http://192.168.68.239:8123",
14
- "order": 2
15
- },
16
- "haToken": {
17
- "title": "HA Long-Lived Access Token",
18
- "type": "string",
19
- "required": true,
20
- "placeholder": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9...",
21
- "format": "password",
22
- "order": 3
23
- },
24
- "entityId": {
25
- "title": "Entity ID",
26
- "type": "string",
27
- "required": true,
28
- "default": "switch.garage_door",
29
- "placeholder": "switch.Puerta1",
30
- "order": 4
31
- },
32
- "pollInterval": {
33
- "title": "Poll Interval (seconds)",
34
- "type": "number",
35
- "default": 30,
36
- "minimum": 10,
37
- "order": 5
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "name": {
6
+ "title": "Name",
7
+ "type": "string",
8
+ "required": true,
9
+ "default": "Garage Door",
10
+ "order": 1
11
+ },
12
+ "haUrl": {
13
+ "title": "Home Assistant URL",
14
+ "type": "string",
15
+ "required": true,
16
+ "placeholder": "http://192.168.68.239:8123",
17
+ "order": 2
18
+ },
19
+ "haToken": {
20
+ "title": "HA Long-Lived Access Token",
21
+ "type": "string",
22
+ "required": true,
23
+ "placeholder": "eyJhbGciOiJIUzI1NiIs...",
24
+ "format": "password",
25
+ "order": 3
26
+ },
27
+ "entityId": {
28
+ "title": "Entity ID",
29
+ "type": "string",
30
+ "required": true,
31
+ "default": "switch.garage_door",
32
+ "placeholder": "switch.Puerta1",
33
+ "order": 4
34
+ },
35
+ "pollInterval": {
36
+ "title": "Poll Interval (seconds)",
37
+ "type": "number",
38
+ "default": 30,
39
+ "minimum": 10,
40
+ "order": 5
41
+ }
38
42
  }
39
43
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "homebridge-homeassistant-garagedoor",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "displayName": "Home Assistant Garage Door",
5
5
  "description": "Homebridge plugin to control Home Assistant switches as Garage Doors",
6
6
  "main": "index.js",