Are you saying you want the lights to come on full then dim or go straight to dim?
Depending on the types of light modules (I don't use UPB), you could have the lights come on to a specific value. However, not all controllers and lighting systems allow for this (e.g. the non-enhanced X10 lighting modules that do not offer a preset dim function).
However, you should always be able to have the lights come full on, then dim to specific value.
Here's a few ways to do what you are trying to do:
PresetDim - Use this property to set the preset dim level of the dimmer. This brightness value is used when turning the dimmer on and off (not dimming/brightening though). So, to use preset dim, set preset dim to a percent value, then toggle the power state. However, remember, not all dimmers will support preset dim.
Brightness - Use this property to dim or brighten the light. Depending on the driver and lighting technology used, changing the brightness property could turn the light on to x percent (if the module supports this) all with one line of code (e.g. home.room.light.brightness = .5 could turn the light on and set the brightness to .5). The Z-Wave driver works like this.
However, depending on the UPB dimmers you are using and how the UPB module is coded, you may need to turn the light on first using the PowerState property, then set the brightness (e.g. home.room.light.powerstate = true:home.room.light.brightness = .5). If this simple method doesn't work, I would suggest trying to change the brightness manually using Premise Builder and making sure everything responds correctly. This latter method should always work if the lights are dimmable, but it will result in the lights going to full brightness (or the preset dim value if supported) then to the specified value.
It sounds like you've used Premise for a long time, but it's worth pointing out that the Brightness and PresetDim both use the percent property. You should also access these properties using their bound home objects versus accessing the device objects directly. This will save you from modifying your code if you switch lighting technologies etc...
The Premise help file gives this example:
Percent Property Type
Type for representing values that span a range from 0 to 100%
Setting precent value in Scripts:
Code:
'Using numerical input.
this.Brightness = .3
'Using string input.
this.Brightness = "30"
'Using string input.
this.Brightness = ".3"