synchronizing lights

I have a Home Manageables HM-LM001 controlling a lamp and an Evolve LRM-AS dimmer switch controlling a bank of lights.

I set up two simple scenes - one that puts them both at 100% and the other that turns them both off. The plug in module goes to 0 or 100% immediately, while the dimmer switch ramps up or down in roughly 1.5 seconds.

I’m curious what the best approach would be to sync them. A scene with a delay or a trigger?

thanks!

I would go with the delay. You don’t need any script for this. Just set the dimmer to turn on after a 1 or 2 seconds delay.

Was easy enough, just figured I’d ask in case there were more considerations than anything obvious.

Seems like minimum delay is 1 second. If this were scripted, could it be less?

Could be if using luup.sleep(), which takes a number of milliseconds as a parameter.

Thanks for the replies mcvflorin!