Generic Z-Wave Valve won't close from RM 5.1 rule, but can from device page

While testing something else, I observed that my Generic Z-Wave Valve can open/close/on/off from the device page and operates fine from valve template on a dashboard. But within an RM 5.1 rule, closing the valve does nothing. However, turning it off does close it, and open/on also work.

I repro'ed it as follows:

The valve (that I'm physically watching) doesn't close until after the delay and the off is issued. See also that the valve device itself reports back that it was turned off, but nothing after the close.

This behaved just fine in the past.

Hey @HAL9000 I just noticed this same thing today. It's something to do with RM and the open close of the valve command. I somehow think they are backwards because my logs reports backs open when commanding close from RM. Try it as a switch instead (the valve will also be listed as a switch), it will work. That's what I had to do to get my rule to work properly. Maybe support can reproduce this and have a look at the issue @bobbyD

Just tested this with a virtual device, and it indeed appears Rule 5.1 is sending an open() command to the device regardless of which selection you make here:

Tried it both ways, and my device logged open() with either selection (ran it once both ways):

@bravenel would be the one to look at this.

3 Likes

@HAL9000

Yes, sorry about that. This was found and fixed for the next release.

4 Likes

Good to know what the explanation is.

Substituting Off for close is easy enough as a workaround.