public byte NodeBasic(byte NodeID) { byte valueByte = 0; ZWValueID valueID = GetValueID(NodeID, "Basic"); if (valueID == null) { return(0); } m_manager.GetNodeBasic(m_homeId, NodeID); if (m_manager.GetValueAsByte(valueID, out valueByte)) { Log(String.Format("Got basic value for node {0}, and it's {1}", NodeID, valueByte)); } return(valueByte); }