Abstract: This paper presents an Explainable Artificial Intelligence (XAI) based methodology for anomaly detection framework, i.e., DeFeAt, to detect anomalies in nano-sensor traffic in smart grids.