justjam2013 / homebridge-virtual-accessories

Homebridge plugin that provides the ability to create virtual HomeKit accessories.
https://www.npmjs.com/package/homebridge-virtual-accessories
Apache License 2.0
5 stars 0 forks source link

Homebridge UI improvements #32

Open LukeBurke99 opened 3 days ago

LukeBurke99 commented 3 days ago

Loving the plugin so far and it's good to see you so active!

Is your feature request related to a problem? Please describe: Haven't run into this issue yet because I'm still migrating over from Homebridge Dummy but I can see there being an issue when you have lots of different accessories and managing them from the UI. At the moment you are not able to collapse accessories, which is going to get more and more annoying the more you add.

Describe the solution you'd like: Change the Accessory form into an 'accordion' of some sort that collapses everything but the name until you expand it, similar to other plugins.

Additional context: This is absolutely not necessary and I would prefer you to focus on new features and bug fixes but thought this might be a quick win and improve the UI tremendously

justjam2013 commented 3 days ago

Thank you for your suggestion. This is in fact a problem I have run into. I currently have 14 virtual switches that form the backbone of my automations. So that is a lot of scrolling.

Homebridge UI provides the capability to write my own UI, however JSON Schema Form, which Homebridge UI uses to create plugin UI forms, does define an "expandable" attribute. I already have a ticket open with Homebridge UI to support/implement it: Enable device section folding.

Would you add a comment to that ticket, supporting the enhancement suggestion and mentioning this plugin? The majority of hardware supporting plugins only have a very small number of devices, so this plugin is kind of unique, so the more "upvotes" the better the chances to get the UI enhancement implemented.