From d01bbb5ac9c7387119cdeafe9e8340ad7c54f1fb Mon Sep 17 00:00:00 2001 From: Just Jam Date: Wed, 27 Nov 2024 20:06:14 +0000 Subject: [PATCH 1/3] Added expandabe & expand attributes and set title attribute to space --- config.schema.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config.schema.json b/config.schema.json index a7b99ca..a28bd5d 100644 --- a/config.schema.json +++ b/config.schema.json @@ -20,8 +20,10 @@ "orderable": false, "uniqueItemProperties": [ "accessoryID" ], "items": { - "title": "Accessory", + "title": " ", "type": "object", + "expandable": true, + "expanded": false, "properties": { "accessoryID": { "title": "Accessory ID", From 44df6a9b8fa5e8a7ec2091be2cf8edf3fa2f4ebf Mon Sep 17 00:00:00 2001 From: Just Jam Date: Wed, 27 Nov 2024 20:15:11 +0000 Subject: [PATCH 2/3] Update Known Issues section --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a32dc3a..aa73b0d 100644 --- a/README.md +++ b/README.md @@ -318,7 +318,7 @@ Note: ## Known Issues - When creating a Cron Trigger, the date-time is saved properly, but upon editing is not displayed back. This is a UI bug with an open ticket. If you check the JSON config, you will see that the date-time values are saved correctly. -- The Homebridge UI does not support expanding and collapsing accessory sections, so if you have a lot of accessories, it's going to require a lot of scrolling. An enhancement request has been opened here: "[Homebridge UI improvements](https://github.com/justjam2013/homebridge-virtual-accessories/issues/32)". Please read the details and provide your support for this enhancement to the Homebridge UI functionality. +- The Homebridge UI does not provide expanding and collapsing accessory sections, except for the deprecated plugin types. So if you have a lot of accessories, it's going to require a lot of scrolling. An enhancement request has been opened here: "[Homebridge UI improvements](https://github.com/justjam2013/homebridge-virtual-accessories/issues/32)". Please read the details and provide your support for this enhancement to the Homebridge UI functionality. I have added expand/functionality provided by the underlying framework, but I haven't yet found a way to display the accessory name on the collapsed section header. The ticket with Homebridge UI has been updated. ## What if I run into a problem? From 0835d87a42a68e70221861a0fcad1102cce00a17 Mon Sep 17 00:00:00 2001 From: Just Jam Date: Wed, 27 Nov 2024 20:19:13 +0000 Subject: [PATCH 3/3] Default accessory sections to expanded --- config.schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.schema.json b/config.schema.json index a28bd5d..fadc3e5 100644 --- a/config.schema.json +++ b/config.schema.json @@ -23,7 +23,7 @@ "title": " ", "type": "object", "expandable": true, - "expanded": false, + "expanded": true, "properties": { "accessoryID": { "title": "Accessory ID",