Added and fix DeviceClass (isPermanet, offlineTimeout, data)