Hi, I've installed the Alexa-Hue plugin and everything works great! The only thing I can't figure out is how to dim the lights to a set level without using Python. I've read through the documentation, and have set up dimming variables to capture the dim values. But, the only way I found to dim is to use Python. Is there another way to do this? I'm not a fan of hard-coding ID's, and would rather have the variable names in the code for ease of readability.
My code right now is (taken from one of Jay's posts)
brightness = int(indigo.variables[VARIDHERE].value) # ID of the variable that has the brightness
indigo.dimmer.setBrightness(DIMMERIDHERE, value=brightness)
I've looked at the set brightness option in the lighting controls section, but that requires a fixed integer, not a variable. I've tried the dimmer extender plugin; that allows me to use a variable to set brightness, but the plugin isn't working for some reason.
Thanks