Closed pug306d closed 5 years ago
Nice try, but there needs to be some cleanup done.
First, a Tasmota-Dimmer.groovy file should be in a Tasmota-Dimmer.src folder (currently there appears to only be a tasmota-dimmer.src file which contains groovy code.) This is how it needs to be to have nice integration with GitHub in the SmartThings IDE.
Also, remove the def setLevel(value, durationSeconds = null)
overload. That seems to be some copy and paste shrapnel from a z-wave stuff device handler.
I'm not able to test if this is working on a device. Can you confirm that this is
I'd also like to see the Tasmota.src/Tasmota.groovy file updated to spawn this device handler for the appropriate module. I do not know which, so I'll trust that you set it appropriately.
Device handler for Tasmota based dimmers