Odd Luup Behavior

I’m running the following code to dim a light:

luup.call_action(“urn:upnp-org:serviceId:Dimming1”,“SetLoadLevelTarget”, {newLoadLevelTarget=“30”}, 467)

When I run it, the light does not dim. Instead, it swtiches to the Off state. My coding isn’t great, so hoping someone can help with this.

Many thanks

I believe the correct parameter name is newLoadlevelTarget, note capitalization difference.

Remember to look in your log when things don’t work as expected.

1 Like