metadata {
definition (name: "ITHO Fanspeed", namespace: "Fan", author: "Fanman76") {
capability "Actuator"
capability "Polling"
capability "Initialize"
attribute "FanSpeed", "number"
}
preferences {
section
{
input "ipAddress", "text", title: "IP address", required: true
input name: "username", type: "string", title: "Username", required: true
input name: "password", type: "password", title: "Password", required: true
input (name: "enablePoll", type: "bool", title: "Enable speed polling", defaultValue: true)
input (name: "enableDebug", type: "bool", title: "Enable debug logging", defaultValue: false)
input (name: 'pollInterval', type: 'enum', title: 'Update interval (in minutes)', options: ['1', '5', '10', '15', '30', '60', '180'], required: true, defaultValue: '60' )
This file has been truncated. show original