BUG?: Cannot invoke method leftShift() on null object

Not sure if one of these other values needs to be set to something but I don't need them. I can get the switchMultilevelV2 to work but was trying to use V3 to see if the device would perform correctly that way.

So I am doing this:

zwave.switchMultilevelV3.switchMultilevelStartLevelChange(dimmingDuration: dimmingDuration, upDown: upDown, ignoreStartLevel:1)

and then later applying a .format() to it.

Which results in this (line 798 is where the .format() is

incDec: null
startLevel: null
stepSize: null (this one is ok as it's the last parameter and without it is backwards compatible with V2.

These need values..

You could use V2 which would only need
startLevel

In future versions this will be refactored and and will zero fill all unspecified parameters.

1 Like

That did the trick, unfortunately the device is still not honoring the duration so I sent them a report asking to fix it. Will switch my driver back to the v2 since the syntax is easier.

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.