It’s a nice little dth you can use:
BUT, look at @JDRoberts’s post for the switch and how to invert the switch. This is where Zwave Tweaker will help.