I spent the weekend trying to improve @dkkohler's H801 Tasmota driver, since it didn't handle hue conversion properly and had some data type errors.
This code is nearly ready for sharing, but I'd like to add the LightEffects capability.
I got the driver to change the effects, but I can't figure out how to properly add the attributes so that they would populate the device info.
There's pretty much no documentation available, so any help would be appreciated.
Thanks. I already found the capability description, but fail to grasp how it should be added in the code. There aren't any customisation options in this device's modes, so I feel they should logically be static.
@mike.maxwell
I have seen the doc on LightEffects but I still can't find any sample code or any code for that matter that shows how it works and how to build the mapping for it.
First 2 wouldn't even save the code and the last one gives me this error
java.lang.NullPointerException: Cannot get property '1' on null object on line 426 (setEffect)
java.lang.NullPointerException: Cannot get property '2' on null object on line 426 (setNextEffect)
I just want to pull all my hair out and eat my keyboard... I even looked and some groovy tutorials and the last define should have worked.