import groovy.transform.Field
metadata {
definition(name: "Everspring ST815 Illumination Sensor", namespace: "djdizzyd", author: "Bryan Copeland") {
capability "IlluminanceMeasurement"
capability "Sensor"
capability "Battery"
capability "Configuration"
fingerprint mfr: "0060", deviceType: "0007", deviceId: "0001", inClusters:"0x31,0x86,0x72,0x85,0x84,0x80,0x70,0x20,0x71", deviceJoinName: "Everspring ST815" //US & EU
}
preferences {
configParams.each { input it.value.input }
input name: "logEnable", type: "bool", title: "Enable debug logging", defaultValue: true
}
}
@Field static Map CMD_CLASS_VERS = [0x20: 1, 0x25: 1, 0x30: 1, 0x31: 5, 0x80: 1, 0x84: 2, 0x71: 1, 0x9C: 1, 0x31:1, 0x86:1, 0x70:1]
This file has been truncated. show original