I'm able to use eRampDown to modify volume, but I can't get the same thing to work for a X10 lamp module. The software brightness value changes, but the light doesn't actually dim. Any ideas? I browsed and made sure the dimmer class was inherited by X10_Dimmer. I also made sure everything was bound properly... Is the eRamp property broken for X10_Dimmer modules?
Code:
Set objProp = sys.GetObject("sys://Schema/Device/Dimmer/Brightness")
If this.ButtonState = 3 or this.ButtonState = 2 or this.ButtonState = 1 Then
Home.Theater.TableLamp.RampProperty objProp, eRampDown
system.addTimer .11, "home.HR12aZoneA.ButtonWithTrigger2.ButtonState = 0",1,"VolumeDown" & this.Parent.Name
Else
system.removeTimer "VolumeDown" & this.Parent.Name
Home.Theater.TableLamp.RampProperty objProp, eRampStop
End If