I'm trying to use the code from the "How To" for "Using a Program to adjust On level/Ramp Rates for a Scene" found here
http://forum.universal-devices.com/viewtopic.php?p=10667#p10667
In my case, I have a scene that contains an 8 key keypad with the master light on button 1 (the dimmer) linked with another switch by the door. I have another scene for the bathroom light that only contains 1 switch.
The code sets the on level and ramp rate for everything in the scene as well as on the controls themselves (see below). When I test it using "run then" and then check the on level and ramp rates - everything is correct (25% and 4.5) on the individual switches, the scene, and the switches in the scene. The only problem is, it doesn't work. In particular, the ramp rate for the switch by the door keeps it's 4.5 second ramp rate even though it says it is set to .5 seconds. In addition, the ramp rate on the bathroom light also stays at 4.5 seconds even though it says .5 seconds.
Any ideas why this isn't working correctly?
If
From 11:00:00PM
To Sunrise - 2 hours (next day)
Then
In Scene '1st Floor / Master Suite / Master Light' Set '1st Floor / Master Suite / Master - Light (Load)' 25% (On Level)
In Scene '1st Floor / Master Suite / Master Light' Set '1st Floor / Master Suite / Master - Light (Load)' 4.5 Sec (Ramp Rate)
In Scene '1st Floor / Master Suite / Master Light' Set '1st Floor / Master Suite / Master light by door' 25% (On Level)
In Scene '1st Floor / Master Suite / Master Light' Set '1st Floor / Master Suite / Master light by door' 4.5 Sec (Ramp Rate)
In Scene '1st Floor / Master Suite / Master - Light (Load)' Set '1st Floor / Master Suite / Master - Light (Load)' 25% (On Level)
In Scene '1st Floor / Master Suite / Master - Light (Load)' Set '1st Floor / Master Suite / Master - Light (Load)' 4.5 Sec (Ramp Rate)
In Scene '1st Floor / Master Suite / Master - Light (Load)' Set '1st Floor / Master Suite / Master light by door' 25% (On Level)
In Scene '1st Floor / Master Suite / Master - Light (Load)' Set '1st Floor / Master Suite / Master light by door' 4.5 Sec (Ramp Rate)
In Scene '1st Floor / Master Suite / Master light by door' Set '1st Floor / Master Suite / Master light by door' 25% (On Level)
In Scene '1st Floor / Master Suite / Master light by door' Set '1st Floor / Master Suite / Master light by door' 4.5 Sec (Ramp Rate)
In Scene '1st Floor / Master Suite / Master light by door' Set '1st Floor / Master Suite / Master - Light (Load)' 25% (On Level)
In Scene '1st Floor / Master Suite / Master light by door' Set '1st Floor / Master Suite / Master - Light (Load)' 4.5 Sec (Ramp Rate)
In Scene '1st Floor / Master Suite / Master Bath Light' Set '1st Floor / Master Suite / Master Bath light' 25% (On Level)
In Scene '1st Floor / Master Suite / Master Bath Light' Set '1st Floor / Master Suite / Master Bath light' 4.5 Sec (Ramp Rate)
In Scene '1st Floor / Master Suite / Master Bath light' Set '1st Floor / Master Suite / Master Bath light' 25% (On Level)
In Scene '1st Floor / Master Suite / Master Bath light' Set '1st Floor / Master Suite / Master Bath light' 4.5 Sec (Ramp Rate)
Else
In Scene '1st Floor / Master Suite / Master Light' Set '1st Floor / Master Suite / Master - Light (Load)' 100% (On Level)
In Scene '1st Floor / Master Suite / Master Light' Set '1st Floor / Master Suite / Master - Light (Load)' 0.5 Sec (Ramp Rate)
In Scene '1st Floor / Master Suite / Master Light' Set '1st Floor / Master Suite / Master light by door' 100% (On Level)
In Scene '1st Floor / Master Suite / Master Light' Set '1st Floor / Master Suite / Master light by door' 0.5 Sec (Ramp Rate)
In Scene '1st Floor / Master Suite / Master - Light (Load)' Set '1st Floor / Master Suite / Master - Light (Load)' 100% (On Level)
In Scene '1st Floor / Master Suite / Master - Light (Load)' Set '1st Floor / Master Suite / Master - Light (Load)' 0.5 Sec (Ramp Rate)
In Scene '1st Floor / Master Suite / Master - Light (Load)' Set '1st Floor / Master Suite / Master light by door' 100% (On Level)
In Scene '1st Floor / Master Suite / Master - Light (Load)' Set '1st Floor / Master Suite / Master light by door' 0.5 Sec (Ramp Rate)
In Scene '1st Floor / Master Suite / Master light by door' Set '1st Floor / Master Suite / Master light by door' 100% (On Level)
In Scene '1st Floor / Master Suite / Master light by door' Set '1st Floor / Master Suite / Master light by door' 0.5 Sec (Ramp Rate)
In Scene '1st Floor / Master Suite / Master light by door' Set '1st Floor / Master Suite / Master - Light (Load)' 100% (On Level)
In Scene '1st Floor / Master Suite / Master light by door' Set '1st Floor / Master Suite / Master - Light (Load)' 0.5 Sec (Ramp Rate)
In Scene '1st Floor / Master Suite / Master Bath Light' Set '1st Floor / Master Suite / Master Bath light' 100% (On Level)
In Scene '1st Floor / Master Suite / Master Bath Light' Set '1st Floor / Master Suite / Master Bath light' 0.5 Sec (Ramp Rate)
In Scene '1st Floor / Master Suite / Master Bath light' Set '1st Floor / Master Suite / Master Bath light' 100% (On Level)
In Scene '1st Floor / Master Suite / Master Bath light' Set '1st Floor / Master Suite / Master Bath light' 0.5 Sec (Ramp Rate)