homebridge-dyson-solarcycle-morph 1.2.1 → 1.2.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.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,18 @@ All notable changes to this project are documented here.
5
5
  The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [1.2.2] — 2026-09-21
9
+
10
+ ### Fixed
11
+
12
+ - **The settings schema declares its required fields the way JSON Schema
13
+ defines it.** `"required": true` sat on the individual fields, which the
14
+ Homebridge UI has always accepted but which is not what the keyword means:
15
+ in JSON Schema `required` belongs on the enclosing object and lists the names
16
+ of the properties it requires. The plugin name is now listed on the schema
17
+ itself, and a light's name, MAC address and serial on the light object. The
18
+ same fields are required as before.
19
+
8
20
  ## [1.2.1] — 2026-09-21
9
21
 
10
22
  ### Changed
@@ -5,18 +5,17 @@
5
5
  "headerDisplay": "Controls the Bluetooth-only Dyson Solarcycle / Lightcycle Morph.\n\n**The lamp must be registered in the MyDyson app.** Its key is issued by Dyson against the account the lamp belongs to and cannot be read from the device itself.\n\nEach lamp becomes two accessories in the Home app: the light itself, and a second one holding the switches below.",
6
6
  "schema": {
7
7
  "type": "object",
8
+ "required": ["name"],
8
9
  "properties": {
9
10
  "name": {
10
11
  "title": "Name",
11
12
  "type": "string",
12
13
  "default": "Dyson Solarcycle Morph",
13
- "required": true,
14
14
  "description": "Shown in the Homebridge log in front of this plugin\u2019s messages."
15
15
  },
16
16
  "adapter": {
17
17
  "title": "Bluetooth adapter",
18
18
  "type": "string",
19
- "required": false,
20
19
  "placeholder": "hci0",
21
20
  "description": "Leave empty to use the system default adapter."
22
21
  },
@@ -25,24 +24,22 @@
25
24
  "type": "array",
26
25
  "items": {
27
26
  "type": "object",
27
+ "required": ["name", "mac", "serial"],
28
28
  "properties": {
29
29
  "name": {
30
30
  "title": "Name",
31
31
  "type": "string",
32
- "required": true,
33
32
  "default": "Dyson Morph"
34
33
  },
35
34
  "mac": {
36
35
  "title": "BLE MAC address",
37
36
  "type": "string",
38
- "required": true,
39
37
  "placeholder": "AA:BB:CC:DD:EE:FF",
40
38
  "pattern": "^([0-9A-Fa-f]{2}:){5}[0-9A-Fa-f]{2}$"
41
39
  },
42
40
  "serial": {
43
41
  "title": "Serial number",
44
42
  "type": "string",
45
- "required": true,
46
43
  "description": "Printed on the lamp base and shown in the MyDyson app."
47
44
  },
48
45
  "autoBrightnessSwitch": {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "homebridge-dyson-solarcycle-morph",
3
3
  "displayName": "Dyson Solarcycle Morph",
4
- "version": "1.2.1",
4
+ "version": "1.2.2",
5
5
  "description": "Homebridge plugin for the Bluetooth LE controlled Dyson Solarcycle/Lightcycle Morph desk light",
6
6
  "license": "MIT",
7
7
  "author": "Oliver Rummeyer",