Matter Lights - "during xx sec" missing

Yes, still there (at least in 12.7.0):

export const LevelControlClusterMethods = ClusterMethodFactory.begin()
    .withMethod('setLevel', async (ctx, level, transitionTimeMs) => {
    const transitionTime = durationToTransitionTime(transitionTimeMs);
    await ctx.cluster().sendCommand('moveToLevel', {
        level,
        transitionTime: transitionTime,
        optionsMask: {
            executeIfOff: true,
            coupleColorTempToLevel: true,
        },
        optionsOverride: {
            executeIfOff: true,
            coupleColorTempToLevel: true,
        },
    });
})

Every description I read for that option explains exactly what you’re describing, no idea why this option is enabled by default.

1 Like