Lines Matching refs:AutoDewSP
135 …IUFillSwitchVector(&AutoDewSP, AutoDewS, 2, getDeviceName(), "AUTO_DEW", "Auto Dew", DEW_TAB, IP_R… in initProperties()
215 defineProperty(&AutoDewSP); in updateProperties()
246 deleteProperty(AutoDewSP.name); in updateProperties()
440 if (!strcmp(name, AutoDewSP.name)) in ISNewSwitch()
442 int prevIndex = IUFindOnSwitchIndex(&AutoDewSP); in ISNewSwitch()
443 IUUpdateSwitch(&AutoDewSP, states, names, n); in ISNewSwitch()
446 AutoDewSP.s = IPS_OK; in ISNewSwitch()
450 IUResetSwitch(&AutoDewSP); in ISNewSwitch()
452 AutoDewSP.s = IPS_ALERT; in ISNewSwitch()
455 IDSetSwitch(&AutoDewSP, nullptr); in ISNewSwitch()
634 IUSaveConfigSwitch(fp, &AutoDewSP); in saveConfigItems()
750 AutoDewSP.s = (std::stoi(result[PA_AUTO_DEW]) == 1) ? IPS_OK : IPS_IDLE; in getSensorData()
752 IDSetSwitch(&AutoDewSP, nullptr); in getSensorData()