dimLED(dimTo, speed)

For WeMo LED bulbs only.

Set the dim level at a given transition/fading speed

Arguments

dimTo: Dim level in %. from 0 to 100. Floating point.

speed: The larger this number, the dim level will change more gradually to the dimTo level. 0 means no transition/fading effect.

Returns

If successful, will return a tag object with updated signal strength (rssi), battery voltage, txpwr, etc. If tag did not respond, will return null.