/*
Quirky Moisture Sensor
Based off of https://community.smartthings.com/t/quirky-overflow/18359/35
*/
metadata {
definition (name: "Quirky Moisture Sensor",namespace: "tierneykev", author: "Kevin Tierney") {
capability "Configuration" // https://docs.hubitat.com/index.php?title=Driver_Capability_List#Configuration
// Dev Note: For Configuration must define command "configure()"
capability "Battery" // https://docs.hubitat.com/index.php?title=Driver_Capability_List#Battery
// Dev Note: For Battery must define attribute "battery" with a number value
capability "Refresh" // https://docs.hubitat.com/index.php?title=Driver_Capability_List#Refresh
// Dev Note: For Refresh must define command "refresh()"
capability "WaterSensor" // https://docs.hubitat.com/index.php?title=Driver_Capability_List#WaterSensor
// Dev Note: For WaterSensor must define attribute "water" with values "wet" or "dry"
command "enrollResponse"
This file has been truncated. show original