I am using a Z-Wave valve with the generic driver and everything works fine.
However, after each hub reboot (and you need that from time to time), the valve turns on (if it's stopped).
Has anyone else experienced this behavior and found a fix for it?
It is only used by webCoRE and an associated piston. I dug a little bit further.
To explain a little bit, I have the following setup:
a Xiaomi physical button
a water valve that opens the water for the washing machine
and a smart plug that turns on the power for the washing machine
The button switches both water and power on or off (depending on the state).
What I see is that when the hub is rebooted, the Xiaomi button gets its "pushed" property updated to 0 and I think that makes the webCoRE piston think that the button was pressed. :-s
This is because when I migrated the pistons from SmartThings, I read on Hubitat forums that you cannot use the ST statement "if X button is pushed".
Instead, I had to go with "on event from X button pushed". My suspicion is this case is that the reset of "pushed" property is considered and event and this is why both the valve and the plug are changing their state.
Coming to the next question: how can I prevent this?