bool KNXInputSwitch::readValue() { string knx_group = get_param("knx_group"); KNXValue val = KNXCtrl::Instance(get_param("host"))->getValue(knx_group); return val.toBool(); }
bool KNXInputSwitchTriple::readValue() { KNXValue val = KNXCtrl::Instance(get_param("host"))->getValue(knxBase->getReadGroupAddr()); return val.toBool(); }