We have added support for using Fibaro Virtual Devices as a dimmable light as from v0.370 of the automationbridge.
This allows you to create a Virtual Device, that could be used to group many lights together, into one object that can then be added as a Dimmable Light for Alexa/Google & HomeKit. In the example below I will create a master light object for my Lounge Lights, these are actually 7 individual Philips Hue globes.
Step 1 - Create a Virtual Device, and give it a name and then Save
Step 2 - Add a Set of Buttons and a Slider Control
Step 3 - Add in the LUA code to turn ON and OFF the required devices, note that the Label must be ON & OFF
(Please note that the below is specific to my controller, you will need to enter your devices/ids as needed)
Step 4 - Create the Slider control to adjust the Brightness levels, note that the Label must be Brightness and the ID must be sliderBrightness
(Again please note that this LUA code is specific to my system, please use as a guide only)
Now save the Virtual Device, and back on the home page of your Fibaro controller, you will have a new object for your combined lights.
On the automationbridge home page, when clicking on the blue Info icon, this should now say its a type of vd_dimmer.
If this does not say vd_dimmer, check the names and ID of the Virtual Device, as it uses these to determine that it is a supported virtual dimmer object.
You can now enable this device for Alexa/Google/HomeKit and it will appear as a Dimmable Light.