execute sceene from another sceene

Hi everyone,

does anybody know, how I can call a sceene from another?
I have several actions that use simple lua scripts to do specific things. I don’t want to duplicate that code in every sceene that uses those actions. So I came up with the idea to execute those sceenes from another sceene.
Is there any way to do this?

sure, just use this code:

luup.call_action("urn:micasaverde-com:serviceId:HomeAutomationGateway1", "RunScene", {SceneNum="33"}, 0)

33 is my scene #, I use this in the Luup tab of the scene, and then it executes scene #33 to close my garage doors.

This one goes in my notepad of useful code. Thanks.