SHARE
TWEET


Untitled




Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- /*
- * Monoprice/Vision Dual Relay Child Device Driver
- */
- metadata {
- definition (name: "Dual Relay Driver (Child)", namespace: "hubitat", author: "hubitat") {
- capability "Switch"
- capability "Actuator"
- }
- }
- void on() {
- log.debug "$device on"
- parent.childOn(device.deviceNetworkId)
- }
- void off() {
- log.debug "$device off"
- parent.childOff(device.deviceNetworkId)
- }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.