homebridge-gouly 1.0.1 → 1.0.2

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 (26) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/config.schema.json +15 -7
  3. package/homebridge-ui/public/app.js +2 -1
  4. package/package.json +2 -1
  5. package/python/vendor/pyaes/__pycache__/__init__.cpython-312.pyc +0 -0
  6. package/python/vendor/pyaes/__pycache__/aes.cpython-312.pyc +0 -0
  7. package/python/vendor/pyaes/__pycache__/blockfeeder.cpython-312.pyc +0 -0
  8. package/python/vendor/pyaes/__pycache__/util.cpython-312.pyc +0 -0
  9. package/python/vendor/tinytuya/__pycache__/BulbDevice.cpython-312.pyc +0 -0
  10. package/python/vendor/tinytuya/__pycache__/Cloud.cpython-312.pyc +0 -0
  11. package/python/vendor/tinytuya/__pycache__/CoverDevice.cpython-312.pyc +0 -0
  12. package/python/vendor/tinytuya/__pycache__/OutletDevice.cpython-312.pyc +0 -0
  13. package/python/vendor/tinytuya/__pycache__/__init__.cpython-312.pyc +0 -0
  14. package/python/vendor/tinytuya/core/__pycache__/Device.cpython-312.pyc +0 -0
  15. package/python/vendor/tinytuya/core/__pycache__/Monitor.cpython-312.pyc +0 -0
  16. package/python/vendor/tinytuya/core/__pycache__/XenonDevice.cpython-312.pyc +0 -0
  17. package/python/vendor/tinytuya/core/__pycache__/__init__.cpython-312.pyc +0 -0
  18. package/python/vendor/tinytuya/core/__pycache__/command_types.cpython-312.pyc +0 -0
  19. package/python/vendor/tinytuya/core/__pycache__/const.cpython-312.pyc +0 -0
  20. package/python/vendor/tinytuya/core/__pycache__/core.cpython-312.pyc +0 -0
  21. package/python/vendor/tinytuya/core/__pycache__/crypto_helper.cpython-312.pyc +0 -0
  22. package/python/vendor/tinytuya/core/__pycache__/error_helper.cpython-312.pyc +0 -0
  23. package/python/vendor/tinytuya/core/__pycache__/exceptions.cpython-312.pyc +0 -0
  24. package/python/vendor/tinytuya/core/__pycache__/header.cpython-312.pyc +0 -0
  25. package/python/vendor/tinytuya/core/__pycache__/message_helper.cpython-312.pyc +0 -0
  26. package/python/vendor/tinytuya/core/__pycache__/udp_helper.cpython-312.pyc +0 -0
package/CHANGELOG.md CHANGED
@@ -5,6 +5,13 @@ and the project uses [Semantic Versioning](https://semver.org/).
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [1.0.2] - 2026-10-15
9
+
10
+ ### Fixed
11
+ - Settings schema: required fields are listed at the object level (JSON Schema), and the platform
12
+ has a name property, as the Homebridge verification checks require.
13
+ - package.json declares the `supports-hap` keyword.
14
+
8
15
  ## [1.0.1] - 2026-10-15
9
16
 
10
17
  ### Fixed
@@ -7,6 +7,12 @@
7
7
  "schema": {
8
8
  "type": "object",
9
9
  "properties": {
10
+ "name": {
11
+ "title": "Platform name",
12
+ "type": "string",
13
+ "default": "Gouly",
14
+ "description": "Shown in the Homebridge log."
15
+ },
10
16
  "devices": {
11
17
  "title": "Controllers",
12
18
  "type": "array",
@@ -16,18 +22,15 @@
16
22
  "name": {
17
23
  "title": "Name",
18
24
  "type": "string",
19
- "default": "House Lights",
20
- "required": true
25
+ "default": "House Lights"
21
26
  },
22
27
  "deviceId": {
23
28
  "title": "Device ID",
24
- "type": "string",
25
- "required": true
29
+ "type": "string"
26
30
  },
27
31
  "localKey": {
28
32
  "title": "Local Key",
29
33
  "type": "string",
30
- "required": true,
31
34
  "x-schema-form": {
32
35
  "type": "password"
33
36
  }
@@ -169,9 +172,14 @@
169
172
  "type": "boolean",
170
173
  "default": false
171
174
  }
172
- }
175
+ },
176
+ "required": [
177
+ "name",
178
+ "deviceId",
179
+ "localKey"
180
+ ]
173
181
  }
174
182
  }
175
183
  }
176
184
  }
177
- }
185
+ }
@@ -77,8 +77,9 @@
77
77
  let config, platform, deviceIndex = 0;
78
78
  const adopt = cfg => {
79
79
  const previous = platform ? platform.devices : [];
80
- config = cfg && cfg.length ? cfg : [{ platform: 'Gouly', devices: [] }];
80
+ config = cfg && cfg.length ? cfg : [{ platform: 'Gouly', name: 'Gouly', devices: [] }];
81
81
  platform = config[0];
82
+ platform.name = platform.name || 'Gouly';
82
83
  platform.devices = platform.devices || [];
83
84
  // The Settings form doesn't show the patterns list; if an edit there comes back
84
85
  // without it, keep the patterns we already had for that controller.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "homebridge-gouly",
3
3
  "displayName": "Gouly Permanent Lights",
4
- "version": "1.0.1",
4
+ "version": "1.0.2",
5
5
  "description": "Local HomeKit control of Gouly permanent outdoor lights: on/off, brightness, colour, warm white and your Gouly app patterns, with no cloud.",
6
6
  "author": "maxrogers",
7
7
  "license": "MIT",
@@ -24,6 +24,7 @@
24
24
  },
25
25
  "keywords": [
26
26
  "homebridge-plugin",
27
+ "supports-hap",
27
28
  "homebridge",
28
29
  "homekit",
29
30
  "gouly",